⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext.button.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                        <b>iconCls</b>                        : String                        <div class="mdesc">                            <div class="short">                                A css class 用来指定背景图片
                             </div>                            <div class="long">                                A css class 用来指定背景图片
                             </div>                        </div>                    </td>                    <td class="msource">                                                                            Button                                            </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="type-header"></a>                        <b>type</b>                        : String                        <div class="mdesc">                            <div class="short">                                submit, reset or button - 按钮的三种类型 默...                             </div>                            <div class="long">                                submit, reset or button - 按钮的三种类型 默认为'button'
                             </div>                        </div>                    </td>                    <td class="msource">                                                                            Button                                            </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="clickEvent-header"></a>                        <b>clickEvent</b>                        : String                        <div class="mdesc">                            <div class="short">                                 handler 句柄触发事件 默认是单击 (defaults to ...                             </div>                            <div class="long">                                 handler 句柄触发事件 默认是单击 (defaults to 'click')
                             </div>                        </div>                    </td>                    <td class="msource">                                                                            Button                                            </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="handleMouseEvents-header"></a>                        <b>handleMouseEvents</b>                        : Boolean                        <div class="mdesc">                            <div class="short">                                是否启用mouseover, mouseout and mousedo...                             </div>                            <div class="long">                                是否启用mouseover, mouseout and mousedown鼠标事件 (默认为true)
                             </div>                        </div>                    </td>                    <td class="msource">                                                                            Button                                            </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="tooltipType-header"></a>                        <b>tooltipType</b>                        : String                        <div class="mdesc">                            <div class="short">                                tooltip 的显示方式 既可是'qtip'(默认),也可是设置ti...                             </div>                            <div class="long">                                tooltip 的显示方式 既可是'qtip'(默认),也可是设置title属性的“标题”。
                             </div>                        </div>                    </td>                    <td class="msource">                                                                            Button                                            </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="cls-header"></a>                        <b>cls</b>                        : String                        <div class="mdesc">                            <div class="short">                                一个可选添加的CSS样式类,加入到组件的容器上(默认为'')。 这为容...                             </div>                            <div class="long">                                一个可选添加的CSS样式类,加入到组件的容器上(默认为'')。 这为容器或容器的子节点加入标准CSS规则提供了方便。                             </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下-->							<a 	ext:cls="Ext.Component" 								ext:member="#method-cls" 								href="output/Ext.Component.html#method-cls">								Component							</a>                                                                    </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="template-header"></a>                        <b>template</b>                        : Ext.Template                        <div class="mdesc">                            <div class="short">                                (Optional)
     An Ext.Template可选配...                             </div>                            <div class="long">                                (Optional)
     An <a href="###" onClick="alert('Ext.Template');">Ext.Template</a>可选配置 如果设置了可用来生成按钮的主要元素. 第一个占位符为按钮文本.修改这个属性要主意相关参数不能缺失.
                             </div>                        </div>                    </td>                    <td class="msource">                                                                            Button                                            </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="id-header"></a>                        <b>id</b>                        : String                        <div class="mdesc">                            <div class="short">                                唯一的组件id(默认为自动分配的id)。                             </div>                            <div class="long">                                唯一的组件id(默认为自动分配的id)。                             </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下-->							<a 	ext:cls="Ext.Component" 								ext:member="#method-id" 								href="output/Ext.Component.html#method-id">								Component							</a>                                                                    </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="xtype-header"></a>                        <b>xtype</b>                        : String                        <div class="mdesc">                            <div class="short">                                The registered xtype to create.  用于...                             </div>                            <div class="long">                                The registered xtype to create.  用于登记一个xtype。 This config option is not used when passing a config object into a constructor.  This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>.  The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed {@link Ext.Component here}. <br><br> If you subclass Components to create your own Components, you may register them using <a href="###" onClick="alert('Ext.ComponentMgr#registerType');">Ext.ComponentMgr#registerType</a> in order to be able to take advantage of lazy instantiation and rendering.                             </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下-->							<a 	ext:cls="Ext.Component" 								ext:member="#method-xtype" 								href="output/Ext.Component.html#method-xtype">								Component							</a>                                                                    </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="style-header"></a>                        <b>style</b>                        : String                        <div class="mdesc">                            <div class="short">                                作用在组件元素上特定的样式。该值的有效格式应如Ext.Element#...                             </div>                            <div class="long">                                作用在组件元素上特定的样式。该值的有效格式应如<a href="###" onClick="alert('Ext.Element#applyStyles');">Ext.Element#applyStyles</a>。                             </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下-->							<a 	ext:cls="Ext.Component" 								ext:member="#method-style" 								href="output/Ext.Component.html#method-style">								Component							</a>                                                                    </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="plugins-header"></a>                        <b>plugins</b>                        : Object/Array                        <div class="mdesc">                            <div class="short">                                针对该组件自定义的功能,是对象或这些对象组成的数组。 一个有效的插件须...                             </div>                            <div class="long">                                针对该组件自定义的功能,是对象或这些对象组成的数组。 一个有效的插件须保证带有一个init的方法以便接收属于Ext.Component类型的引用。 当一个组件被创建后,若发现由插件可用,组件会调用每个插件上的init方法,传入一个应用到插件本身。   这样,插件便能按照组件所提供的功能,调用到组件的方法或响应事件。                             </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下-->							<a 	ext:cls="Ext.Component" 								ext:member="#method-plugins" 								href="output/Ext.Component.html#method-plugins">								Component							</a>                                                                    </td>                </tr>                            <tr class="config-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <a id="applyTo-header"></a>                        <b>applyTo</b>                        : Mixed                        <div class="mdesc">                            <div class="short">                                节点的id,或是DOM节点,又或者是与DIV相当的现有元素,这些都是文... 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -