Must be constructed from a TJSGameSettings instance init / initialize method called from the ready Foundry VTT hook.

Constructors

Accessors

Methods

Constructors

Accessors

  • get stores(): {
        [key: string]: Writable<string>;
    }
  • Returns {
        [key: string]: Writable<string>;
    }

    All stores.

Methods

  • Sets the theme store with new data.

    Parameters

    • themeData: object

    Returns TJSThemeStore

    This theme store instance.

  • Parameters

    • handler: Subscriber<{
          [key: string]: object;
      }>

      Callback function that is invoked on update / changes. Receives copy of the theme data.

    Returns Unsubscriber

    Unsubscribe function.