You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License UsageThis file may be used under the terms of the GNU General Public License version 3.0 aspublished by the Free Software Foundation and appearing in the file LICENSE included in thepackaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales departmentat http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25*/Ext.data.JsonP.Ext_form_TriggerField({"alternateClassNames":[],"aliases":{"widget":["trigger"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.form.ComboBox","Ext.form.DateField","Ext.form.TwinTriggerField"],"extends":"Ext.form.TextField","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.form.Field' rel='Ext.form.Field' class='docClass'>Ext.form.Field</a><div class='subclass '><a href='#!/api/Ext.form.TextField' rel='Ext.form.TextField' class='docClass'>Ext.form.TextField</a><div class='subclass '><strong>Ext.form.TriggerField</strong></div></div></div></div></div></div><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.form.ComboBox' rel='Ext.form.ComboBox' class='docClass'>Ext.form.ComboBox</a></div><div class='dependency'><a href='#!/api/Ext.form.DateField' rel='Ext.form.DateField' class='docClass'>Ext.form.DateField</a></div><div class='dependency'><a href='#!/api/Ext.form.TwinTriggerField' rel='Ext.form.TwinTriggerField' class='docClass'>Ext.form.TwinTriggerField</a></div><h4>Files</h4><div class='dependency'><a href='source/TriggerField.html#Ext-form-TriggerField' target='_blank'>TriggerField.js</a></div></pre><div class='doc-contents'><p>Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).\nThe trigger has no default action, so you must assign a function to implement the trigger click handler by\noverriding <a href=\"#!/api/Ext.form.TriggerField-method-onTriggerClick\" rel=\"Ext.form.TriggerField-method-onTriggerClick\" class=\"docClass\">onTriggerClick</a>. You can create a TriggerField directly, as it renders exactly like a combobox\nfor which you can provide a custom implementation. For example:</p>\n\n<pre><code>var trigger = new <a href=\"#!/api/Ext.form.TriggerField\" rel=\"Ext.form.TriggerField\" class=\"docClass\">Ext.form.TriggerField</a>();\ntrigger.onTriggerClick = myTriggerFn;\ntrigger.applyToMarkup('my-field');\n</code></pre>\n\n\n<p>However, in general you will most likely want to use TriggerField as the base class for a reusable component.\n<a href=\"#!/api/Ext.form.DateField\" rel=\"Ext.form.DateField\" class=\"docClass\">Ext.form.DateField</a> and <a href=\"#!/api/Ext.form.ComboBox\" rel=\"Ext.form.ComboBox\" class=\"docClass\">Ext.form.ComboBox</a> are perfect examples of this.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-allowBlank' class='member first-child inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.form.TextField' rel='Ext.form.TextField' class='defined-in docClass'>Ext.form.TextField</a><br/><a href='source/TextField.html#Ext-form-TextField-cfg-allowBlank' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.form.TextField-cfg-allowBlank' class='name expandable'>allowBlank</a><span> : Boolean</span></div><div class='description'><div class='short'>Specify false to validate that the value's length is > 0 (defaults to\ntrue) ...</div><div class='long'><p>Specify <tt>false</tt> to validate that the value's length is > 0 (defaults to\n<tt>true</tt>)</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-allowDomMove' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.Component' rel='Ext.Component' class='defined-in docClass'>Ext.Component</a><br/><a href='source/Component.html#Ext-Component-cfg-allowDomMove' target='_blank' class=
|