##// END OF EJS Templates
Switched to dojo-typings...
Switched to dojo-typings Added TNode type parameter to BuildContext custom dojo typings are going to be removed

File last commit:

r2:8ec37bf1b4d1 default
r22:a1ab2b5975ad v1.0.0-rc10 default
Show More
_ButtonMixin.d.ts
25 lines | 678 B | video/mp2t | TypeScriptLexer
/ src / typings / dijit / form / _ButtonMixin.d.ts
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import { DeclareConstructor } from "dojo/_base/declare";
interface _ButtonMixin {
/**
* A mixin to add a thin standard API wrapper to a normal HTML button
*/
label: string;
/**
* Type of button (submit, reset, button, checkbox, radio)
*/
type: string;
postCreate(): void;
/**
* Callback for when button is clicked.
* If type="submit", return true to perform submit, or false to cancel it.
*/
onClick(e: DocumentEvent): boolean;
onSetLabel(e: DocumentEvent): void;
}
type _ButtonMixinConstructor = DeclareConstructor<_ButtonMixin>;
declare const _ButtonMixin: _ButtonMixinConstructor;
export = _ButtonMixin;