Class SettingsMenuButton

<theoplayer-settings-menu-button> - A menu button that opens a SettingsMenu.

menu - The ID of the settings menu.

Hierarchy (View Summary)

Constructors

Accessors

  • get disabled(): boolean

    Whether the button is disabled.

    When disabled, the button cannot be clicked.

    Returns boolean

  • set disabled(disabled: boolean): void

    Parameters

    • disabled: boolean

    Returns void

  • The ID of the menu to open.

    Returns null | string

  • Parameters

    • menuId: null | string

    Returns void

Methods