Skip to main content

StateStorageRuntime

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/state/core/stateStorageRuntime / StateStorageRuntime

Interface: StateStorageRuntime

Defined in: utils/state/core/stateStorageRuntime.ts:7

Properties​

getItem​

getItem: (key: string) => string | null

Defined in: utils/state/core/stateStorageRuntime.ts:8

Parameters​

key​

string

Returns​

string | null


getLocalStorage​

getLocalStorage: () => Storage | undefined

Defined in: utils/state/core/stateStorageRuntime.ts:9

Returns​

Storage | undefined


removeItem​

removeItem: (key: string) => boolean

Defined in: utils/state/core/stateStorageRuntime.ts:10

Parameters​

key​

string

Returns​

boolean


setItem​

setItem: (key: string, value: string) => boolean

Defined in: utils/state/core/stateStorageRuntime.ts:11

Parameters​

key​

string

value​

string

Returns​

boolean