Fray Electron
    Preparing search index...

    Variable systemFontsHubConst

    systemFontsHub: {
        current(): readonly string[];
        receive(next: readonly string[]): void;
        subscribe(listener: () => void): () => void;
    } = ...

    Renderer-local copy of the font families the Engine reports as installed.

    Type Declaration

    • current: function
      • Reads the family list.

        Returns readonly string[]

        Immutable list; empty until the Engine has reported.

    • receive: function
      • Replaces the family list and notifies subscribers.

        Parameters

        • next: readonly string[]

          Family names from the Engine.

        Returns void

    • subscribe: function
      • Subscribes to list changes.

        Parameters

        • listener: () => void

          Change listener.

        Returns () => void

        Unsubscribe function.