@tempots/dom
sessionStorageProp() function
Creates a prop that stores its value in the session storage.
Signature:
sessionStorageProp: (options: StorageOptions) => Prop
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
The options for the storage prop. |
Returns: Prop
A prop that stores its value in the session storage.