- Preparing search index...
- The search index is not available
@fold-dev/core
- useStorage(): {
deleteStorage: ((name) => void);
getSafeStorage: ((name) => string);
getStorage: ((name) => string);
setStorage: ((name, val?) => void);
}
-
Returns {
deleteStorage: ((name) => void);
getSafeStorage: ((name) => string);
getStorage: ((name) => string);
setStorage: ((name, val?) => void);
}
-
deleteStorage: ((name) => void)
-
- (name): void
-
Returns void
-
getSafeStorage: ((name) => string)
-
- (name): string
-
Returns string
-
getStorage: ((name) => string)
-
- (name): string
-
Returns string
-
setStorage: ((name, val?) => void)
-
- (name, val?): void
-
Parameters
-
name: string
-
val: string = 'true'
Returns void