##// 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
_WidgetsInTemplateMixin.d.ts
21 lines | 648 B | video/mp2t | TypeScriptLexer
/ src / typings / dijit / _WidgetsInTemplateMixin.d.ts
cin
created typings for basic part of dojo and dijit further work is required to...
r2 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;