Returns the backing Svelte store for the given key; potentially sets a default value if the key is not already set.
Key to lookup in storage API.
Optional
defaultValue: TA default value to return if key not present in session storage.
Optional
storageStores: StorageStoresAdditional store creation options.
The Svelte store for this key.
Convenience method to swap a boolean value stored in storage API.
Key to lookup in storage API.
Optional
defaultValue: booleanA default value to return if key not present in session storage.
The boolean swap for the given key.
Provides a TJSWebStorage instance for browser session storage using compressed MessagePack to base64.