• Stores an object into localStorage. The object will be serialized to JSON. The following types are supported in addition to the default types:

    • ColorUtils.Color

    Type Parameters

    • T

    Parameters

    • key: string

      the key to store the data to

    • data: T

      the object to store

    Returns void