You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/features/alphabetSearch/dataTables.alphabetSearch.d.ts

30 lines
809 B
TypeScript

/*! © SpryMedia Ltd - datatables.net/license */
interface AlphabetSearchOptions {
column?: number;
caseSensitive?: boolean;
numbers?: boolean;
}
declare module 'datatables.net' {
interface DataTablesStatic {
/** Show an set of alphabet buttons alongside a table providing search input options */
AlphabetSearch(settings: any): void;
}
interface Config {
alphabet?: AlphabetSearchOptions;
}
interface Api<T> {
alphabetSearch: ApiAlphabet<T>;
}
interface ApiAlphabet<T> {
(searchTerm: string): ApiAlphabetMethods<T>;
}
interface ApiAlphabetMethods<T> extends Api<T> {
node(): JQuery | null;
recalc(): Api<T>;
}
interface Feature {
alphabetSearch?: AlphabetSearchOptions;
}
}
export {};