##// 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
_WidgetsInTemplateMixin.d.ts
21 lines | 648 B | video/mp2t | TypeScriptLexer
/ src / typings / dijit / _WidgetsInTemplateMixin.d.ts
import { _WidgetBaseConstructor } from "./_WidgetBase";
interface _WidgetsInTemplateMixin {
/**
* Used to provide a context require to dojo/parser in order to be
* able to use relative MIDs (e.g. `./Widget`) in the widget's template.
*/
contextRequire: Function;
startup(): void;
}
declare module "dojo/_base/kernel" {
interface Dijit {
_WidgetsInTemplateMixin: _WidgetsInTemplateMixinConstructor
}
}
type _WidgetsInTemplateMixinConstructor = _WidgetBaseConstructor<_WidgetsInTemplateMixin>;
declare const _WidgetsInTemplateMixin: _WidgetsInTemplateMixinConstructor;
export = _WidgetsInTemplateMixin;