Button that switches pagination to the last page.

Hierarchy

Constructors

  • Button that switches pagination to the last page.

    Parameters

    • Optional style: MessageButton

      Data from which to build LastPageButton.

    Returns LastPageButton

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

  • Gets number of the last page of the pagination.

    Returns

    Last page number.

    Parameters

    Returns Promise<number>

Generated using TypeDoc