mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Create slick.headerbuttons.d.ts
Headerbuttons is a SlickGrid plugin so I put it in the slickgrid directory: https://github.com/mleibman/SlickGrid/blob/master/plugins/slick.headerbuttons.js?source=cc
This commit is contained in:
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
declare module Slick {
|
||||
|
||||
export interface Column<T extends Slick.SlickData> {
|
||||
header: Header;
|
||||
}
|
||||
|
||||
export interface Header {
|
||||
buttons: HeaderButton[];
|
||||
}
|
||||
|
||||
export interface HeaderButton {
|
||||
command?: string;
|
||||
cssClass?: string;
|
||||
handler?: Function;
|
||||
image?: string;
|
||||
showOnHover?: boolean;
|
||||
tooltip?: string;
|
||||
}
|
||||
|
||||
export module Plugins {
|
||||
|
||||
export class HeaderButtons<T extends Slick.SlickData> extends Plugin<T> {
|
||||
constructor();
|
||||
public onCommand: Slick.Event<any>;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user