X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/TextArea.html diff --git a/docs/source/TextArea.html b/docs/source/TextArea.html index d47ac260..2f4a4686 100644 --- a/docs/source/TextArea.html +++ b/docs/source/TextArea.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.form.field.TextArea
* @extends Ext.form.field.Text
@@ -54,19 +71,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 +91,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 +114,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 +156,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 +181,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 +193,6 @@ Ext.define('Ext.form.field.TextArea', {
});
-
\ No newline at end of file
+
+
+