##// END OF EJS Templates
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods
Added 'Attrs', 'Events' type parameters to DjxWidgetBase, typed 'on' and 'emit' methods

File last commit:

r2:8ec37bf1b4d1 default
r30:a46488b209e8 v1.0.0-rc14 default
Show More
_FormWidget.d.ts
18 lines | 726 B | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import _Widget = require("../_Widget");
import _TemplatedMixin = require("../_TemplatedMixin");
import _CssStateMixin = require("../_CssStateMixin");
import { _WidgetBaseConstructor } from "../_WidgetBase";
import _FormWidgetMixin = require("./_FormWidgetMixin");
interface _FormWidget extends _Widget, _TemplatedMixin, _CssStateMixin, _FormWidgetMixin {
setDisabled(disabled: boolean): void;
setValue(value: string): void;
postMixInProperties(): void;
set(name: 'value', value: string): this;
set(name: string, value: any): this;
set(values: Object): this;
}
type _FormWidgetConstructor = _WidgetBaseConstructor<_FormWidget>;
declare const _FormWidget: _FormWidgetConstructor;
export = _FormWidget;