ares-ide
Version:
A browser-based code editor and UI designer for Enyo 2 projects
22 lines (20 loc) • 572 B
JavaScript
/**
_enyo.TextArea_ implements an HTML <textarea> element with
cross-platform support for change events.
For more information, see the documentation on [Text
Fields](building-apps/controls/text-fields.html) in the Enyo Developer Guide.
*/
enyo.kind({
name: "enyo.TextArea",
kind: "enyo.Input",
//* @protected
tag: "textarea",
classes: "enyo-textarea",
// textarea does use value attribute; needs to be kicked when rendered.
rendered: enyo.inherit(function (sup) {
return function() {
sup.apply(this, arguments);
this.valueChanged();
};
})
});