mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
* Update `TypeScript Version`s to be at least as high as dependencies' versions * Run through again
50 lines
1.3 KiB
TypeScript
50 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
|
|
// TypeScript Version: 2.4
|
|
|
|
/// <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;
|
|
}
|
|
}
|