Button with custom set of scripts.

Hierarchy

Constructors

Accessors

  • get action(): null | ButtonAction
  • Represents an action that should be completed after the button is pressed.

    Either a number of a page or a function that determines number of a page.

    Returns null | ButtonAction

  • get disableWhen(): null | ButtonDisableWhen
  • Represents a condition of disabling button.

    Either a number of a page or a function that determines number of a page.

    Returns null | ButtonDisableWhen

  • get style(): null | MessageButton
  • Style of this button.

    Returns null | MessageButton

Methods

  • Setups action and disableWhen from ButtonData.

    Returns

    Parameters

    Returns void

  • Sets an action that should be completed when the button is pressed.

    Returns

    Button data.

    Parameters

    • action: ButtonAction

      Either a number of a page or a function that determines number of a page.

    Returns CustomButton

Generated using TypeDoc