Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlackholeStorage

Hierarchy

  • BlackholeStorage

Implements

Index

Constructors

Accessors

  • get length(): number

Methods

  • clear(): void
  • getItem(key: string): null
  • Returns the current value associated with the given key, or null if the given key does not exist in the list associated with the object.

    Parameters

    • key: string

    Returns null

  • key(index: number): null
  • Returns the name of the nth key in the list, or null if n is greater than or equal to the number of key/value pairs in the object.

    Parameters

    • index: number

    Returns null

  • removeItem(key: string): void
  • setItem(key: string, value: any): void