Alien-Web-ExtJS-V3
view release on metacpan or search on metacpan
share/docs/source/Editor.html view on Meta::CPAN
*/
<span id='Ext-Editor-cfg-allowBlur'> /**
</span> * @cfg {Boolean} allowBlur
* True to {@link #completeEdit complete the editing process} if in edit mode when the
* field is blurred. Defaults to <tt>true</tt>.
*/
allowBlur: true,
<span id='Ext-Editor-cfg-autoSize'> /**
</span> * @cfg {Boolean/String} autoSize
* True for the editor to automatically adopt the size of the underlying field, "width" to adopt the width only,
* or "height" to adopt the height only, "none" to always use the field dimensions. (defaults to false)
*/
<span id='Ext-Editor-cfg-revertInvalid'> /**
</span> * @cfg {Boolean} revertInvalid
* True to automatically revert the field value and cancel the edit when the user completes an edit and the field
* validation fails (defaults to true)
*/
<span id='Ext-Editor-cfg-ignoreNoChange'> /**
</span> * @cfg {Boolean} ignoreNoChange
* True to skip the edit completion process (no save, no events fired) if the user completes an edit and
* the value has not changed (defaults to false). Applies only to string values - edits for other data types
* will never be ignored.
*/
<span id='Ext-Editor-cfg-hideEl'> /**
</span> * @cfg {Boolean} hideEl
* False to keep the bound element visible while the editor is displayed (defaults to true)
*/
<span id='Ext-Editor-cfg-value'> /**
</span> * @cfg {Mixed} value
* The data value of the underlying field (defaults to "")
*/
value : "",
<span id='Ext-Editor-cfg-alignment'> /**
</span> * @cfg {String} alignment
* The position to align to (see {@link Ext.Element#alignTo} for more details, defaults to "c-c?").
*/
alignment: "c-c?",
<span id='Ext-Editor-cfg-offsets'> /**
</span> * @cfg {Array} offsets
* The offsets to use when aligning (see {@link Ext.Element#alignTo} for more details. Defaults to <tt>[0, 0]</tt>.
*/
offsets: [0, 0],
<span id='Ext-Editor-cfg-shadow'> /**
</span> * @cfg {Boolean/String} shadow "sides" for sides/bottom only, "frame" for 4-way shadow, and "drop"
* for bottom-right shadow (defaults to "frame")
*/
shadow : "frame",
<span id='Ext-Editor-cfg-constrain'> /**
</span> * @cfg {Boolean} constrain True to constrain the editor to the viewport
*/
constrain : false,
<span id='Ext-Editor-cfg-swallowKeys'> /**
</span> * @cfg {Boolean} swallowKeys Handle the keydown/keypress events so they don't propagate (defaults to true)
*/
swallowKeys : true,
<span id='Ext-Editor-cfg-completeOnEnter'> /**
</span> * @cfg {Boolean} completeOnEnter True to complete the edit when the enter key is pressed. Defaults to <tt>true</tt>.
*/
completeOnEnter : true,
<span id='Ext-Editor-cfg-cancelOnEsc'> /**
</span> * @cfg {Boolean} cancelOnEsc True to cancel the edit when the escape key is pressed. Defaults to <tt>true</tt>.
*/
cancelOnEsc : true,
<span id='Ext-Editor-cfg-updateEl'> /**
</span> * @cfg {Boolean} updateEl True to update the innerHTML of the bound element when the update completes (defaults to false)
*/
updateEl : false,
initComponent : function(){
Ext.Editor.superclass.initComponent.call(this);
this.addEvents(
<span id='Ext-Editor-event-beforestartedit'> /**
</span> * @event beforestartedit
* Fires when editing is initiated, but before the value changes. Editing can be canceled by returning
* false from the handler of this event.
* @param {Editor} this
* @param {Ext.Element} boundEl The underlying element bound to this editor
* @param {Mixed} value The field value being set
*/
"beforestartedit",
<span id='Ext-Editor-event-startedit'> /**
</span> * @event startedit
* Fires when this editor is displayed
* @param {Ext.Element} boundEl The underlying element bound to this editor
* @param {Mixed} value The starting field value
*/
"startedit",
<span id='Ext-Editor-event-beforecomplete'> /**
</span> * @event beforecomplete
* Fires after a change has been made to the field, but before the change is reflected in the underlying
* field. Saving the change to the field can be canceled by returning false from the handler of this event.
* Note that if the value has not changed and ignoreNoChange = true, the editing will still end but this
* event will not fire since no edit actually occurred.
* @param {Editor} this
* @param {Mixed} value The current field value
* @param {Mixed} startValue The original field value
*/
"beforecomplete",
<span id='Ext-Editor-event-complete'> /**
</span> * @event complete
* Fires after editing is complete and any changed value has been written to the underlying field.
* @param {Editor} this
* @param {Mixed} value The current field value
* @param {Mixed} startValue The original field value
*/
"complete",
<span id='Ext-Editor-event-canceledit'> /**
</span> * @event canceledit
* Fires after editing has been canceled and the editor's value has been reset.
* @param {Editor} this
* @param {Mixed} value The user-entered field value that was discarded
* @param {Mixed} startValue The original field value that was set back into the editor after cancel
*/
"canceledit",
<span id='Ext-Editor-event-specialkey'> /**
</span> * @event specialkey
* Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check
* {@link Ext.EventObject#getKey} to determine which key was pressed.
* @param {Ext.form.Field} this
* @param {Ext.EventObject} e The event object
*/
( run in 0.698 second using v1.01-cache-2.11-cpan-119454b85a5 )