Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {*/


/**
 * Multiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds support for auto-sizing.
 *
 * <p>This class represents the xtype 'textarea' and serves as a
 * typed config object for constructor of class TextArea.</p>
 *
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.form.TextArea
 */
{ExtConfig:{target:"ext.form.TextArea", xtype:"textarea"}},
"public class textarea extends ext.config.textfield",7,function($$private){var $1=ext.config;return[ 

  "public function textarea",function textarea(config/*:Object = null*/) {if(arguments.length<=0)config=null;

     $1.textfield.call(this,config);
  },


  /**
   A <a href="Ext.DomHelper.html">DomHelper</a> element spec, or true for a default element spec. Used to create the <a href="output/Ext.Component.html#Ext.Component-getEl">Element</a> which will encapsulate this Component. See <tt><a href="output/Ext.Component.html#Ext.Component-autoEl">autoEl</a></tt> for details. Defaults to:
   <pre><code>{tag: "textarea", style: "width:100px;height:60px;", autocomplete: "off"}</code></pre>
   */
  "override public native function get autoCreate"/*():**/,

  /**
   * @private
   */
  "override public native function set autoCreate"/*(value:*):void*/,

  /**
   The maximum height to allow when <tt><a href="output/Ext.form.TextField.html#Ext.form.TextField-grow">grow</a>=true</tt> (defaults to <tt>1000</tt>)
   */
  "override public native function get growMax"/*():Number*/,

  /**
   * @private
   */
  "override public native function set growMax"/*(value:Number):void*/,

  /**
   The minimum height to allow when <tt><a href="output/Ext.form.TextField.html#Ext.form.TextField-grow">grow</a>=true</tt> (defaults to <tt>60</tt>)
   */
  "override public native function get growMin"/*():Number*/,

  /**
   * @private
   */
  "override public native function set growMin"/*(value:Number):void*/,

  /**
   <tt>true</tt> to prevent scrollbars from appearing regardless of how much text is in the field. This option is only relevant when <a href="output/Ext.form.TextArea.html#Ext.form.TextArea-grow">grow</a> is <tt>true</tt>. Equivalent to setting overflow: hidden, defaults to <tt>false</tt>.
   */
  "public native function get preventScrollbars"/*():Boolean*/,

  /**
   * @private
   */
  "public native function set preventScrollbars"/*(value:Boolean):void*/,


undefined];},[],["ext.config.textfield"], "0.8.0", "2.0.9"
);
New to GrepCode? Check out our FAQ X