@tempots/dom
localStorageProp() function
Creates a prop that is backed by the localStorage or a MemoryStore.
Signature:
localStorageProp: (options: StorageOptions) => Prop
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
The options for creating the prop. |
Returns: Prop
The created prop.