Internalapi

A storage that can be used in chrome extensions

Hierarchy

  • ChromeStorage

Implements

Constructors

Methods

  • This event will fire if the storage was modified by someone else, eg. on another tab

    Parameters

    • _callback: ((arg) => {})

      The callback to be called when a storage value changes

        • (arg): {}
        • Parameters

          • arg: {
                eventType: "storageCleared" | "entryModified";
                key: null | string;
                newValue: null | string;
                oldValue: null | string;
            }
            • eventType: "storageCleared" | "entryModified"
            • key: null | string
            • newValue: null | string
            • oldValue: null | string

          Returns {}

      Returns Promise<void>

    Generated using TypeDoc