Options
All
  • Public
  • Public/Protected
  • All
Menu

[dummy] Local storage object.

Hierarchy

  • DummyStorageImpl

Index

Constructors

Methods

Constructors

constructor

  • new DummyStorageImpl(data: any[]): any
  • Parameters

    • data: any[]

    Returns any

Methods

clear

  • clear(): void
  • Clears all items.

    Returns void

getItem

  • getItem(key: String): String
  • Returns an item value.

    Parameters

    • key: String

      The key to resolve the value for.

    Returns String

removeItem

  • removeItem(key: String): void
  • Removes an item.

    Parameters

    • key: String

      The item key.

    Returns void

setItem

  • setItem(key: String, value: any): void
  • Sets a key value.

    Parameters

    • key: String

      The key to set the value for.

    • value: any

      The value to set.

    Returns void

Generated using TypeDoc