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.
26 lines
706 B
TypeScript
26 lines
706 B
TypeScript
2 years ago
|
/*! © SpryMedia Ltd - datatables.net/license */
|
||
|
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?: {
|
||
|
column: number;
|
||
|
caseSensitive: boolean;
|
||
|
numbers: boolean;
|
||
|
};
|
||
|
}
|
||
|
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>;
|
||
|
}
|
||
|
}
|
||
|
export {};
|