mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #1626 from derekcicerone/patch-37
Additional types for slick.headerbutton.d.ts
This commit is contained in:
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