##// END OF EJS Templates
Added tag v1.0.3 for changeset 030ea350f98b
Added tag v1.0.3 for changeset 030ea350f98b

File last commit:

r2:8ec37bf1b4d1 default
r49:a5a55d949be1 default
Show More
_OnDijitClickMixin.d.ts
32 lines | 1.1 KiB | video/mp2t | TypeScriptLexer
/ src / typings / dijit / _OnDijitClickMixin.d.ts
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;