##// END OF EJS Templates
Changed @djclass decorator to support legacy dojo versions (<1.15)
Changed @djclass decorator to support legacy dojo versions (<1.15)

File last commit:

r2:8ec37bf1b4d1 default
r11:5a2c44d8e1f3 v1.0.0-rc5 default
Show More
_CssStateMixin.d.ts
31 lines | 762 B | video/mp2t | TypeScriptLexer
/ src / typings / dijit / _CssStateMixin.d.ts
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import { DeclareConstructor } from "dojo/_base/declare";
declare namespace _CssStateMixin {
interface CSSStateNodes {
[node: string]: string;
}
interface _CssStateMixin {
/**
* True if cursor is over this widget
*/
hovering: boolean;
/**
* True if mouse was pressed while over this widget, and hasn't been released yet
*/
active: boolean;
}
}
declare module "dojo/_base/kernel" {
interface Dijit {
_CssStateMixin: _CssStateMixinConstructor
}
}
type _CssStateMixin = _CssStateMixin._CssStateMixin;
type _CssStateMixinConstructor = DeclareConstructor<_CssStateMixin>;
declare const _CssStateMixin: _CssStateMixinConstructor;
export = _CssStateMixin;