Bind for button that stops pagination.

Hierarchy

  • default
    • StopButton

Constructors

  • Bind for button that stop pagination.

    Parameters

    • Optional style: default

      Styling for button.

    Returns StopButton

Accessors

  • get action(): ButtonAction
  • Returns

    Action that is called after the button is pressed.

    Returns ButtonAction

  • get builtComponent(): ButtonBuilder
  • Returns

    Ready button builder.

    Returns ButtonBuilder

  • get data(): Partial<default>
  • Returns

    Button's styling.

    Returns Partial<default>

  • get switch(): ButtonSwitch
  • Returns

    Action that is called to switch button's state.

    Returns ButtonSwitch

Methods

  • Sets action that is called after the button is pressed.

    Returns

    Parameters

    • action: ButtonAction

      Action that is called after the button is pressed.

    Returns StopButton

  • Sets buttons data.

    Returns

    Parameters

    • data: default | Partial<default>

      Either an interface for button styling or the class to be built from.

    Returns StopButton

  • Sets action that is called to switch button's state.

    Returns

    Parameters

    • switchFunction: ButtonSwitch

      Action that is called to switch button's state.

    Returns StopButton

  • Converts button styling to JSON-like object.

    Returns

    JSON-like object.

    Returns default

  • Action that stops pagination.

    Returns

    Parameters

    • pagination: default

      Pagination.

    Returns void

  • Switch that never disables the button.

    Returns

    Returns false

Generated using TypeDoc