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

    Function saveSettingsToLocalStorageMap

    • Serializes the value and default value of every setting flagged saveToLocalStorage in the given settings tree, and stores them in the local storage map under the given key and backup name.

      Type Parameters

      Parameters

      • mainKey: string

        The main key to store the config under in local storage.

      • backupName: string

        The backup name to store the config under in local storage.

      • settings: T

        The settings tree to persist.

      Returns void