sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Dispose of this theme manager.

      Returns void

    • Set the workspace theme, and refresh the workspace and all components.

      Parameters

      Returns void

    • Subscribe an element to changes to the selected theme. If a new theme is selected, the element's style is refreshed with the new theme's style.

      Parameters

      • element: Element

        The element to subscribe.

      • componentName: string

        The name used to identify the component. This must be the same name used to configure the style in the Theme object.

      • propertyName: string

        The inline style property name to update.

      Returns void

    • Subscribe a workspace to changes to the selected theme. If a new theme is set, the workspace is called to refresh its blocks.

      Parameters

      Returns void

    • Unsubscribe an element to changes to the selected theme.

      Parameters

      • element: Element

        The element to unsubscribe.

      Returns void