X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/TextArea.html diff --git a/docs/source/TextArea.html b/docs/source/TextArea.html index d47ac260..723d004b 100644 --- a/docs/source/TextArea.html +++ b/docs/source/TextArea.html @@ -1,5 +1,22 @@ -
+ +/** - * @class Ext.form.field.TextArea + + + + +\ No newline at end of file +The source code + + + + + + +/** + * @class Ext.form.field.TextArea * @extends Ext.form.field.Text This class creates a multiline text field, which can be used as a direct replacement for traditional @@ -27,10 +44,6 @@ Example usage: Some other useful configuration options when using {@link #grow} are {@link #growMin} and {@link #growMax}. These allow you to set the minimum and maximum grow heights for the textarea. - * @constructor - * Creates a new TextArea - * @param {Object} config Configuration options - * @xtype textareafield * @docauthor Robert Dougan <rob@sencha.com> */ Ext.define('Ext.form.field.TextArea', { @@ -54,19 +67,19 @@ Ext.define('Ext.form.field.TextArea', { } ], - /** + /** * @cfg {Number} growMin The minimum height to allow when <tt>{@link Ext.form.field.Text#grow grow}=true</tt> * (defaults to <tt>60</tt>) */ growMin: 60, - /** + /** * @cfg {Number} growMax The maximum height to allow when <tt>{@link Ext.form.field.Text#grow grow}=true</tt> * (defaults to <tt>1000</tt>) */ growMax: 1000, - /** + /** * @cfg {String} growAppend * A string that will be appended to the field's current value for the purposes of calculating the target * field size. Only used when the {@link #grow} config is <tt>true</tt>. Defaults to a newline for TextArea @@ -74,21 +87,21 @@ Ext.define('Ext.form.field.TextArea', { */ growAppend: '\n-', - /** + /** * @cfg {Number} cols An initial value for the 'cols' attribute on the textarea element. This is only * used if the component has no configured {@link #width} and is not given a width by its container's * layout. Defaults to <tt>20</tt>. */ cols: 20, - /** + /** * @cfg {Number} cols An initial value for the 'cols' attribute on the textarea element. This is only * used if the component has no configured {@link #width} and is not given a width by its container's * layout. Defaults to <tt>4</tt>. */ rows: 4, - /** + /** * @cfg {Boolean} enterIsSpecial * True if you want the enter key to be classed as a <tt>special</tt> key. Special keys are generally navigation * keys (arrows, space, enter). Setting the config property to <tt>true</tt> would mean that you could not insert @@ -97,7 +110,7 @@ Ext.define('Ext.form.field.TextArea', { */ enterIsSpecial: false, - /** + /** * @cfg {Boolean} preventScrollbars <tt>true</tt> to prevent scrollbars from appearing regardless of how much text is * in the field. This option is only relevant when {@link #grow} is <tt>true</tt>. Equivalent to setting overflow: hidden, defaults to * <tt>false</tt>. @@ -139,7 +152,7 @@ Ext.define('Ext.form.field.TextArea', { } }, - /** + /** * Automatically grows the field to accomodate the height of the text up to the maximum field height allowed. * This only takes effect if <tt>{@link #grow} = true</tt>, and fires the {@link #autosize} event if * the height changes. @@ -164,7 +177,7 @@ Ext.define('Ext.form.field.TextArea', { this.getActionEl().dom.setAttribute('aria-multiline', true); }, - /** + /** * @protected override * To get the natural width of the textarea element, we do a simple calculation based on the * 'cols' config. We use hard-coded numbers to approximate what browsers do natively, @@ -176,4 +189,6 @@ Ext.define('Ext.form.field.TextArea', { }); -