##// 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
_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;