Sha256: 542a04605de2114838b557a690dd281480ce3efb9dd9ab2bcfb00311f16da781
Contents?: true
Size: 1.11 KB
Versions: 4
Compression:
Stored size: 1.11 KB
Contents
dojo.provide("dijit.form.SimpleTextarea"); dojo.require("dijit.form.TextBox"); dojo.declare("dijit.form.SimpleTextarea", dijit.form.TextBox, { // summary: // A simple textarea that degrades, and responds to // minimal LayoutContainer usage, and works with dijit.form.Form. // Doesn't automatically size according to input, like Textarea. // // example: // | <textarea dojoType="dijit.form.SimpleTextarea" name="foo" value="bar" rows=30 cols=40/> // baseClass: "dijitTextArea", attributeMap: dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap), {rows:"textbox", cols: "textbox"}), // rows: Number // The number of rows of text. rows: "", // rows: Number // The number of characters per line. cols: "", templatePath: null, templateString: "<textarea name='${name}' dojoAttachPoint='focusNode,containerNode,textbox' autocomplete='off'></textarea>", postMixInProperties: function(){ if(this.srcNodeRef){ this.value = this.srcNodeRef.value; } }, filter: function(/*String*/ value){ if(value){ value = value.replace(/\r/g,""); } return this.inherited(arguments); } });
Version data entries
4 entries across 4 versions & 1 rubygems