Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageAPI

Hierarchy

  • StorageAPI

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    Returns StorageAPI

Properties

storage

storage: Storage | null

Methods

get

  • get(name: string): string | null
  • Parameters

    • name: string

    Returns string | null

set

  • set(name: string, value: string): { error: any; isQuotaError: boolean }
  • Parameters

    • name: string
    • value: string

    Returns { error: any; isQuotaError: boolean }

    • error: any
    • isQuotaError: boolean

Generated using TypeDoc