DefinitelyTyped/types/datatables.net-select/index.d.ts
Andy 954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00

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