Documentation - v19.12.0-dev
    Preparing search index...

    Singleton that batches settings values in memory, keyed by a path of nested keys, and persists them all to localStorage (or reads them back) on demand.

    Index

    Accessors

    Methods

    • Get settings from localStorage.

      Type Parameters

      • T

      Parameters

      • keys: string[]

        Array of keys to access the settings.

      Returns RecursivePartial<T>

    • Save localStorageMap to localStorage.

      Returns void

    • Add settings to the localStorage map to save it in localStorage when {@link_saveSettingsToLocalStorage} is called.

      Type Parameters

      • T

      Parameters

      Returns void