##// END OF EJS Templates
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods

File last commit:

r2:8ec37bf1b4d1 default
r30:a46488b209e8 v1.0.0-rc14 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;