A persistence adapter which persists to web browser's local storage object

Hierarchy

  • LocalStorageAdapter

Implements

Constructors

Properties

Methods

Constructors

Properties

mode: "normal"

Methods

  • loadDatabase() - Load data from localstorage

    Parameters

    • dbname: string

      the name of the database to load

    • callback: ((value: string | Error) => void)

      the callback to handle the result

        • (value: string | Error): void
        • Parameters

          • value: string | Error

          Returns void

    Returns void

Generated using TypeDoc