mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-11 19:42:23 +08:00
Update index.d.ts
Add style api
This commit is contained in:
13
types/datatables.net-select/index.d.ts
vendored
13
types/datatables.net-select/index.d.ts
vendored
@@ -46,4 +46,17 @@ declare namespace DataTables {
|
||||
*/
|
||||
style?: string;
|
||||
}
|
||||
|
||||
interface Api {
|
||||
select: {
|
||||
/*
|
||||
* Get the current selection style applied to the table
|
||||
*/
|
||||
style(): string;
|
||||
/*
|
||||
* Set the table's selection style
|
||||
*/
|
||||
style(s: "api" | "single" | "multi" | "os"): Api;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user