##// END OF EJS Templates
created typings for basic part of dojo and dijit further work is required to...
created typings for basic part of dojo and dijit further work is required to complete typings and separate them from this project dojo-typings replaced with @type/dojo, @type/dijit.

File last commit:

r2:8ec37bf1b4d1 default
r2:8ec37bf1b4d1 default
Show More
_OnDijitClickMixin.d.ts
32 lines | 1.1 KiB | video/mp2t | TypeScriptLexer
/ src / typings / dijit / _OnDijitClickMixin.d.ts
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import { DeclareConstructor } from "dojo/_base/declare";
import { ExtensionEvent } from "dojo/on";
import { WatchHandle } from "dojo/interfaces";
import { A11yClick } from "./a11yclick";
interface _OnDijitClickMixin {
/**
* override _WidgetBase.connect() to make this.connect(node, "ondijitclick", ...) work
*/
connect(obj: any, event: string | ExtensionEvent, method: string | EventListener): WatchHandle;
}
/**
* Deprecated. New code should access the dijit/a11yclick event directly, ex:
* this.own(on(node, a11yclick, function(){ ... }));
*
* Mixing in this class will make _WidgetBase.connect(node, "ondijitclick", ...) work.
* It also used to be necessary to make templates with ondijitclick work, but now you can just require
* dijit/a11yclick.
*/
interface _OnDijitClickMixinConstructor extends DeclareConstructor<_OnDijitClickMixin>{
a11yclick: A11yClick;
}
declare module "dojo/_base/kernel" {
interface Dijit {
_OnDijitClickMixin: _OnDijitClickMixinConstructor;
}
}
declare const _OnDijitClickMixin: _OnDijitClickMixinConstructor;
export = _OnDijitClickMixin;