Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LocalStorage

Implements

Index

Properties

name

name: StorageDriverType = ...

Methods

clearAll

  • clearAll(): Promise<void>
  • Returns Promise<void>

get

  • get(key: string): Promise<undefined | string>
  • Parameters

    • key: string

    Returns Promise<undefined | string>

remove

  • remove(key: string): Promise<void>
  • Parameters

    • key: string

    Returns Promise<void>

set

  • set(key: string, value: string, options?: ISetOptions): Promise<void>
  • Parameters

    • key: string
    • value: string
    • Optional options: ISetOptions

    Returns Promise<void>

support

  • support(): boolean
  • Check browser support of the driver

    Returns boolean

Static createInstance

Generated using TypeDoc