forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slick.autotooltips.d.ts
35 lines (30 loc) · 1007 Bytes
/
slick.autotooltips.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Type definitions for SlickGrid AutoToolTips Plugin 2.1.0
// Project: https://github.com/mleibman/SlickGrid
// Definitions by: Ryo Iwamoto <https://github.com/ryiwamoto>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="SlickGrid.d.ts" />
declare module Slick {
export interface SlickGridAutoTooltipsOption extends PluginOptions {
/**
* Enable tooltip for grid cells
* @default true
*/
enableForCells?: boolean;
/**
* Enable tooltip for header cells
* @default false
*/
enableForHeaderCells?: boolean;
/**
* The maximum length for a tooltip
* @default null
*/
maxToolTipLength?: number;
}
/**
* AutoTooltips plugin to show/hide tooltips when columns are too narrow to fit content.
*/
export class AutoTooltips extends Plugin<Slick.SlickData> {
constructor(option?: SlickGridAutoTooltipsOption);
}
}