<theoplayer-button> - A basic button.

disabled - Whether the button is disabled. When disabled, the button cannot be clicked.

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

Methods

  • Parameters

    • attrName: string
    • oldValue: any
    • newValue: any

    Returns void

  • Handle a button click.

    By default, this does nothing. Subclasses can override this method to add behavior to the button.

    Returns void