UNPKG

bs-datatable

Version:

A data table based on Bootstrap 5

27 lines (26 loc) 1.06 kB
import { BSDataTableBase } from "./BSDataTableBase"; import { BSEvent, BSInputOptions } from "../commonTypes/common-types"; declare class BSDataTableInput extends BSDataTableBase { options: BSInputOptions; constructor(options: BSInputOptions); notifyListeners(eventType: string, payload: BSEvent): void; render(): void; get val(): boolean | string | number | string[]; set val(v: boolean | string | number | string[]); /** * This method should be used with dropdowns where just setting the val of element is not enough * this method ensure that 'change' is called after 'val' so that value of the selector is set properly * @param {string} v - value */ set valExt(v: string | number | string[]); get readonly(): boolean; set readonly(v: boolean); get disabled(): boolean; set disabled(v: boolean); get isKey(): boolean; set isKey(v: boolean); addDoubleClickEvent(): void; change(): void; clone(): BSDataTableBase; } export { BSDataTableInput };