Sha256: 62d9f93593976a95cc07604f658cb6a69b7a3cbbcc9e2cf39f86465001e42558
Contents?: true
Size: 975 Bytes
Versions: 1
Compression:
Stored size: 975 Bytes
Contents
define("dojox/mobile/TextArea", [ "dojo/_base/declare", "dojo/dom-construct", "./TextBox" ], function(declare, domConstruct, TextBox){ return declare("dojox.mobile.TextArea",TextBox, { // summary: // Non-templated TEXTAREA widget. // description: // A textarea widget that wraps an HTML TEXTAREA element. // Takes all the parameters (name, value, etc.) that a vanilla textarea takes. // example: // | <textarea dojoType="dojox.mobile.TextArea">...</textarea> baseClass: "mblTextArea", postMixInProperties: function(){ // Copy value from srcNodeRef, unless user specified a value explicitly (or there is no srcNodeRef) // TODO: parser will handle this in 2.0 if(!this.value && this.srcNodeRef){ this.value = this.srcNodeRef.value; } this.inherited(arguments); }, buildRendering: function(){ if(!this.srcNodeRef){ this.srcNodeRef = domConstruct.create("textarea", {}); } this.inherited(arguments); } }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dojox-rails-0.11.0 | vendor/assets/javascripts/mobile/TextArea.js.uncompressed.js |