Class SettingsMenuButton

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

Attribute

menu - The ID of the settings menu.

Hierarchy (view full)

Constructors

Accessors

  • get disabled(): boolean
  • Whether the button is disabled.

    When disabled, the button cannot be clicked.

    Returns boolean

  • set disabled(disabled): void
  • Parameters

    • disabled: boolean

    Returns void

  • The ID of the menu to open.

    Returns null | string

  • Parameters

    • menuId: null | string

    Returns void

Methods

Generated using TypeDoc