Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

Properties

key: string

Methods

  • Returns number

    returns 0 if key was not found, returns 1 if key was deleted

  • Returns (string | boolean)[]

    [success, value], success true if value was in storage and read, value is the read string

  • write a value with to the local storage of the browser with the class specific key (this.key)

    Parameters

    • value: string

      {string} string to write to the local storage of the browser

    Returns void

  • Returns "light" | "dark"

  • Parameters

    Returns void