cockpit-plugin-base-react - v1.1.1
GitHub
Wiki
Preparing search index...
index
LocalStorageOptions
Interface LocalStorageOptions<T>
interface
LocalStorageOptions
<
T
>
{
crossTabSync
?:
boolean
;
deserialize
?:
(
raw
:
string
)
=>
T
;
serialize
?:
(
value
:
T
)
=>
string
;
}
Type Parameters
T
Index
Properties
cross
Tab
Sync?
deserialize?
serialize?
Properties
Optional
cross
Tab
Sync
crossTabSync
?:
boolean
When true, subscribes to StorageEvent to stay in sync across browser tabs.
Optional
deserialize
deserialize
?:
(
raw
:
string
)
=>
T
Optional
serialize
serialize
?:
(
value
:
T
)
=>
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
cross
Tab
Sync
deserialize
serialize
GitHub
Wiki
cockpit-plugin-base-react - v1.1.1
Loading...
When true, subscribes to StorageEvent to stay in sync across browser tabs.