##// END OF EJS Templates
Working on dojo typings
Working on dojo typings

File last commit:

r2:8ec37bf1b4d1 default
r15:8ef85ad13241 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;