mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Update index.d.ts
Add api interface for select extension
This commit is contained in:
+22
@@ -59,4 +59,26 @@ declare namespace DataTables {
|
||||
style(s: "api" | "single" | "multi" | "os"): Api;
|
||||
}
|
||||
}
|
||||
|
||||
interface RowMethods {
|
||||
/**
|
||||
* Select a row
|
||||
*/
|
||||
select(): Api;
|
||||
/**
|
||||
* Deselect a row
|
||||
*/
|
||||
deselect: Api;
|
||||
}
|
||||
|
||||
interface RowsMethods {
|
||||
/**
|
||||
* Select multiple rows
|
||||
*/
|
||||
select(): Api;
|
||||
/**
|
||||
* Deselect a row
|
||||
*/
|
||||
deselect(): Api;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user