##// END OF EJS Templates
tsx: Added auto unfolding arrays of children when constructing DOM
tsx: Added auto unfolding arrays of children when constructing DOM

File last commit:

r2:8ec37bf1b4d1 default
r13:6c01fabe9ea9 v1.0.0-rc6 default
Show More
_ButtonMixin.d.ts
25 lines | 678 B | video/mp2t | TypeScriptLexer
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;