Interface StoreJSStatic

Index

Properties

Methods

Properties

public disabled: boolean

public enabled: boolean

Methods

public clear()

public deserialize(value: string): any

Parameters

  • value: string

Returns

any

public get(key: string): any

Parameters

  • key: string

Returns

any

public getAll(): any

Returns

any

public remove(key: string)

Parameters

  • key: string

public serialize(value: any): string

Parameters

  • value: any

Returns

string

public set(key: string, value: any): any

Parameters

  • key: string
  • value: any

Returns

any

public transact(key: string, defaultValue: any, transactionFn?: (val: any) => void)

Parameters

  • key: string
  • defaultValue: any
  • transactionFn?: (val: any) => void optional