Store.Prop Type

• storage_type (value equal to: 'local', 'session', 'memory'; default memory) - The type of the web storage. memory: only kept in memory, reset on page refresh. local: window.localStorage, data is kept after the browser quit. session: window.sessionStorage, data is cleared once the browser quit. • data (record | list | number | string | boolean) - The stored data for the id. • clear_data (boolean; default false) - Set to true to remove the data contained in `data_key`. • modified_timestamp (number; default -1) - The last time the storage was modified.

Union cases

Union case Description

ClearData bool

Full Usage: ClearData bool

Parameters:
    Item : bool

Item : bool

Data string

Full Usage: Data string

Parameters:
    Item : string

Item : string

ModifiedTimestamp int64

Full Usage: ModifiedTimestamp int64

Parameters:
    Item : int64

Item : int64
Item : PersistenceTypeOptions

Static members

Static member Description

Prop.toDynamicMemberDef prop

Full Usage: Prop.toDynamicMemberDef prop

Parameters:
Returns: string * obj
prop : Prop
Returns: string * obj