##// END OF EJS Templates
Added tag v1.0.0-rc12 for changeset 32b72f33756d
Added tag v1.0.0-rc12 for changeset 32b72f33756d

File last commit:

r2:8ec37bf1b4d1 default
r27:870272ba0fae 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;