SiUIStateService documentation¶
Service to save and load UI states.
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
load(...) ¶ | <TState: unknown > (stateId: string , version: number = 0 ) => PromiseLike <(undefined | TState )> | Loads and returns the state for the given stateId and version. Returns A Promise containing the state or undefined if the state does not exist or the version did not match. Parameters | |
save(...) ¶ | <TState> (stateId: string , state: TState , version: number = 0 ) => Promise <void > | Saves the provided state in the storage. Parameters |
Types Documentation¶
No types to document for items on this page.
Except where otherwise noted, content on this site is licensed under MIT License.