UNPKG

@djs-button-pages/presets

Version:

A set of presets that are used for faster development.

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