ext.form.datefield.html.svn-base
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 897 行 · 第 1/5 页
SVN-BASE
897 行
[element id] Add the error text directly to the innerHTML of the specified element</pre> </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.form.Field" ext:member="#msgTarget" href="output/Ext.form.Field.html#msgTarget">Field</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-name"></a>
<b>name</b> : String <div class="mdesc">
The field's HTML name attribute (defaults to ""). </div>
</td>
<td class="msource"><a ext:cls="Ext.form.Field" ext:member="#name" href="output/Ext.form.Field.html#name">Field</a></td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-overCls"></a>
<b>overCls</b> : String <div class="mdesc">
<div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div>
<div class="long">
An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-pageX"></a>
<b>pageX</b> : Number <div class="mdesc">
The page level x coordinate for this component if contained within a positioning container. </div>
</td>
<td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageX" href="output/Ext.BoxComponent.html#pageX">BoxComponent</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-pageY"></a>
<b>pageY</b> : Number <div class="mdesc">
The page level y coordinate for this component if contained within a positioning container. </div>
</td>
<td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#pageY" href="output/Ext.BoxComponent.html#pageY">BoxComponent</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-plugins"></a>
<b>plugins</b> : Object/Array <div class="mdesc">
<div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
<div class="long">
An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-readOnly"></a>
<b>readOnly</b> : Boolean <div class="mdesc">
<div class="short">True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM att...</div>
<div class="long">
True to mark the field as readOnly in HTML (defaults to false) -- Note: this only sets the element's readOnly DOM attribute. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.form.Field" ext:member="#readOnly" href="output/Ext.form.Field.html#readOnly">Field</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-regex"></a>
<b>regex</b> : RegExp <div class="mdesc">
<div class="short">A JavaScript RegExp object to be tested against the field value during validation (defaults to null). If available, t...</div>
<div class="long">
A JavaScript RegExp object to be tested against the field value during validation (defaults to null). If available, this regex will be evaluated only after the basic validators all return true, and will be passed the current field value. If the test fails, the field will be marked invalid using <a ext:cls="Ext.form.TextField" ext:member="regexText" href="output/Ext.form.TextField.html#regexText">regexText</a>. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#regex" href="output/Ext.form.TextField.html#regex">TextField</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-regexText"></a>
<b>regexText</b> : String <div class="mdesc">
The error text to display if <a ext:cls="Ext.form.TextField" ext:member="regex" href="output/Ext.form.TextField.html#regex">regex</a> is used and the test fails during validation (defaults to "") </div>
</td>
<td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#regexText" href="output/Ext.form.TextField.html#regexText">TextField</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-renderTo"></a>
<b>renderTo</b> : Mixed <div class="mdesc">
<div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>
<div class="long">
The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-selectOnFocus"></a>
<b>selectOnFocus</b> : Boolean <div class="mdesc">
True to automatically select any existing field text when the field receives input focus (defaults to false) </div>
</td>
<td class="msource"><a ext:cls="Ext.form.TextField" ext:member="#selectOnFocus" href="output/Ext.form.TextField.html#selectOnFocus">TextField</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-stateEvents"></a>
<b>stateEvents</b> : Array <div class="mdesc">
<div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
<div class="long">
An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p> </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-stateId"></a>
<b>stateId</b> : String <div class="mdesc">
<div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
<div class="long">
The unique id for this component to use for state management purposes (defaults to the component id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p> </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-stateful"></a>
<b>stateful</b> : Boolean <div class="mdesc">
<div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>
<div class="long">
A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p> </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-style"></a>
<b>style</b> : String <div class="mdesc">
<div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
<div class="long">
A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-tabIndex"></a>
<b>tabIndex</b> : Number <div class="mdesc">
<div class="short">The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyT...</div>
<div class="long">
The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined). </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.form.Field" ext:member="#tabIndex" href="output/Ext.form.Field.html#tabIndex">Field</a></td>
</tr>
<tr class="config-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.form.DateField-triggerClass"></a>
<b>triggerClass</b> : String <div class="mdesc">
<div class="short">An additional CSS class used to style the trigger button. The trigger will always get the class 'x-form-trigger' and ...</div>
<div class="long">
An additional CSS class used to style the trigger button. The trigger will always get the class 'x-form-trigger' and triggerClass will be <b>appended</b> if specified (defaults to 'x-form-date-trigger' which displays a calendar icon). </div>
</div>
</td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?