mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
48 lines
1.3 KiB
TypeScript
48 lines
1.3 KiB
TypeScript
// Type definitions for datatables.net-select 1.2
|
|
// Project: https://datatables.net/extensions/select/
|
|
// Definitions by: Jared Szechy <https://github.com/szechyjs>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
/// <reference types="jquery" />
|
|
/// <reference types="datatables.net"/>
|
|
|
|
declare namespace DataTables {
|
|
interface Settings {
|
|
/*
|
|
* Select extension options
|
|
*/
|
|
select?: boolean | string | SelectSettings;
|
|
}
|
|
|
|
interface SelectSettings {
|
|
/*
|
|
* Indicate if the selected items will be removed when clicking outside of the table
|
|
*/
|
|
blurable?: boolean;
|
|
|
|
/*
|
|
* Set the class name that will be applied to selected items
|
|
*/
|
|
className?: string;
|
|
|
|
/*
|
|
* Enable / disable the display for item selection information in the table summary
|
|
*/
|
|
info?: boolean;
|
|
|
|
/*
|
|
* Set which table items to select (rows, columns or cells)
|
|
*/
|
|
items?: string;
|
|
|
|
/*
|
|
* Set the element selector used for mouse event capture to select items
|
|
*/
|
|
selector?: string;
|
|
|
|
/*
|
|
* Set the selection style for end user interaction with the table
|
|
*/
|
|
style?: string;
|
|
}
|
|
}
|