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

📄 ext.form.label.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
                                                </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                Ext.BoxComponent                                            </code>                                                                                    </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.BoxComponent" ext:member="#method-BoxComponent" href="output/Ext.BoxComponent.html#method-BoxComponent">                                                BoxComponent                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="setSize-setSize"></a>                        <b>setSize</b>                        (                                                                                    <code>                                    Number/Object width,                                </code>                                                                                                                <code>                                    Number height                                </code>                                                    )                                                    : Ext.BoxComponent                                                <div class="mdesc">                            <div class="short">                                
 设置组件的宽度和高度。
 此方法会触发resize事件。
 此方法...                             </div>                            <div class="long">                                
 设置组件的宽度和高度。
 此方法会触发resize事件。
 此方法既可接受单独的数字类型的参数,也可以传入一个size的对象,如 {width:10, height:20}。
                                <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                                    <li>                                                <code>                                                    width                                                </code> : Number/Object                                                <div class="sub-desc">                                                    要设置的宽度,或一个size对象,格式是{width, height}                                                </div>                                            </li>                                                                                    <li>                                                <code>                                                    height                                                </code> : Number                                                <div class="sub-desc">                                                    要设置的高度(如第一参数是size对象的那第二个参数经不需要了)                                                </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                Ext.BoxComponent                                            </code>                                            this<br /> this                                        </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.BoxComponent" ext:member="#method-setSize" href="output/Ext.BoxComponent.html#method-setSize">                                                BoxComponent                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="setWidth-setWidth"></a>                        <b>setWidth</b>                        (                                                                                    <code>                                    Number height                                </code>                                                    )                                                    : Ext.BoxComponent                                                <div class="mdesc">                            <div class="short">                                
 设置组件的宽度。此方法会触发resize事件。
                             </div>                            <div class="long">                                
 设置组件的宽度。此方法会触发resize事件。
                                <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                                    <li>                                                <code>                                                    height                                                </code> : Number                                                <div class="sub-desc">                                                    要设置的新宽度                                                </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                Ext.BoxComponent                                            </code>                                            this<br /> this                                        </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.BoxComponent" ext:member="#method-setWidth" href="output/Ext.BoxComponent.html#method-setWidth">                                                BoxComponent                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="setHeight-setHeight"></a>                        <b>setHeight</b>                        (                                                                                    <code>                                    Number height                                </code>                                                    )                                                    : Ext.BoxComponent                                                <div class="mdesc">                            <div class="short">                                
 设置组件的高度。此方法会触发resize事件。
                             </div>                            <div class="long">                                
 设置组件的高度。此方法会触发resize事件。
                                <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                                    <li>                                                <code>                                                    height                                                </code> : Number                                                <div class="sub-desc">                                                    要设置的新高度                                                </div>                                            </li>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                Ext.BoxComponent                                            </code>                                            this<br /> this                                        </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.BoxComponent" ext:member="#method-setHeight" href="output/Ext.BoxComponent.html#method-setHeight">                                                BoxComponent                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="getSize-getSize"></a>                        <b>getSize</b>                        (                        )                                                    : Object} 包含元素大小的对象,格式为{width: (元素宽度), height:(元素高度)                                                <div class="mdesc">                            <div class="short">                                
 返回当前组件所属元素的大小。
                             </div>                            <div class="long">                                
 返回当前组件所属元素的大小。
                                <div class="mdetail-params">                                    <strong>参数项:</strong>                                    <ul>                                                                            </ul>                                    <b>返回:</b>                                    <ul>                                        <li>                                            <code>                                                Object} 包含元素大小的对象,格式为{width: (元素宽度), height:(元素高度)                                            </code>                                            */                                        </li>                                    </ul>                                </div>                            </div>                        </div>                    </td>                    <td class="msource">                                                    <!--如果这不是同个namespace下--><a ext:cls="Ext.BoxComponent" ext:member="#method-getSize" href="output/Ext.BoxComponent.html#method-getSize">                                                BoxComponent                                                </a>                                        </td>                </tr>                            <tr class="method-row expandable">                    <td class="micon">                        <a class="exi" href="#expand">&nbsp;</a>                    </td>                    <td class="sig">                        <!--ClassName--><a id="getPosition-getPosition"></a>                        <b>getPosition</b>                        (                                                                                    <code>                                    <span class='optional'>[Boolean local]</span>                                </code>                                                    )                                                    : Array

⌨️ 快捷键说明

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