Files
DefinitelyTyped/types/datatables.net-select/index.d.ts
2017-03-24 14:27:52 -07:00

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;
}
}