mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Additional types for slick.headerbutton.d.ts
This commit is contained in:
1 parent
239e30308e
commit
9f9c809102
1 file changed
+8
-1
Vendored
+8
-1
@@ -24,11 +24,18 @@ declare module Slick {
|
||||
tooltip?: string;
|
||||
}
|
||||
|
||||
export interface OnCommandEventData<T extends SlickData> {
|
||||
grid: Grid<T>;
|
||||
column: Column<T>;
|
||||
command: string;
|
||||
button: HeaderButton;
|
||||
}
|
||||
|
||||
export module Plugins {
|
||||
|
||||
export class HeaderButtons<T extends SlickData> extends Plugin<T> {
|
||||
constructor();
|
||||
public onCommand: Event<any>;
|
||||
public onCommand: Event<OnCommandEventData<T>>;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user