UNPKG

@djs-button-pages/presets

Version:

A set of presets that are used for faster development.

23 lines (22 loc) 626 B
import { ButtonData, ButtonWrapper } from "djs-button-pages"; /** * Bind for button that stops pagination. */ export default class StopButton extends ButtonWrapper { /** * Bind for button that stop pagination. * @param {ButtonData} style Styling for button. */ constructor(style?: ButtonData); /** * Action that stops pagination. * @param {PaginationSent} pagination Pagination. * @returns {Promise<void>} */ private static _doAction; /** * Switch that never disables the button. * @returns {false} */ private static _switch; }