AngularTS
    Preparing search index...

    Interface StorageLike

    Minimal Web Storage-compatible interface used by persistent stores.

    interface StorageLike {
        getItem(key: string): string | null;
        removeItem(key: string): void;
        setItem(key: string, value: string): void;
    }
    Index

    Methods

    • Read an item by key.

      Parameters

      • key: string

      Returns string | null

    • Remove an item by key.

      Parameters

      • key: string

      Returns void

    • Store an item by key.

      Parameters

      • key: string
      • value: string

      Returns void