📄 ext.form.label.html
字号:
<!--Mock<link rel="stylesheet" type="text/css" href="http://localhost/ext/resources/css/ext-all.css" /><link rel="stylesheet" type="text/css" href="http://localhost/ext/doc/resources/docs.css"/><link rel="stylesheet" type="text/css" href="http://localhost/ext/doc/resources/style.css"/>--><style type="text/css"> body { overflow: scroll; } /** .mdesc .long { display: block; } */</style><!-- End Mock--><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.form.Label-props"><img src="/images/s.gif" class="item-icon icon-prop">Properties</a><a class="inner-link" href="#Ext.form.Label-methods"><img src="/images/s.gif" class="item-icon icon-method">Methods</a><a class="inner-link" href="#Ext.form.Label-events"><img src="/images/s.gif" class="item-icon icon-event">Events</a><a class="inner-link" href="#Ext.form.Label-configs"><img src="/images/s.gif" class="item-icon icon-config">Config Options</a><a class="bookmark" href="../docs/?class=Ext.form.Label"><img src="/images/s.gif" class="item-icon icon-fav">Direct Link</a> </div><h1>Class Ext.form.Label</h1> <table cellspacing="0"> <!-- <tr> <td class="label"> Package: </td> <td class="hd-info"> </td> </tr> --> <tr> <td class="label"> Defined In: </td> <td class="hd-info"> Label.js </td> </tr> <tr> <td class="label"> Class: </td> <td class="hd-info"> Ext.form.Label </td> </tr> <tr> <td class="label"> Extends: </td> <td class="hd-info"> Ext.BoxComponent </td> </tr> </table> <div class="description"> Basic Label field </div> <div class="hr"> </div> <a id="Ext.form.Label-configs"></a> <h2>配置项</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2"> 配置项 </th> <th class="msource-header"> 定义者 </th> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="text-header"></a> <b>text</b> : String <div class="mdesc"> <div class="short"> The text to display within the label </div> <div class="long"> The text to display within the label </div> </div> </td> <td class="msource"> Label </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="forId-header"></a> <b>forId</b> : String <div class="mdesc"> <div class="short"> The id of the element to which this... </div> <div class="long"> The id of the element to which this label will be bound </div> </div> </td> <td class="msource"> Label </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="height-header"></a> <b>height</b> : Number <div class="mdesc"> <div class="short"> 此组件的高度(单位象素)(缺省为auto)。
</div> <div class="long"> 此组件的高度(单位象素)(缺省为auto)。
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.BoxComponent" ext:member="#method-height" href="output/Ext.BoxComponent.html#method-height"> BoxComponent </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="width-header"></a> <b>width</b> : Number <div class="mdesc"> <div class="short"> 此组件的宽度(单位象素)(缺省为auto)。
</div> <div class="long"> 此组件的宽度(单位象素)(缺省为auto)。
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.BoxComponent" ext:member="#method-width" href="output/Ext.BoxComponent.html#method-width"> BoxComponent </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="autoHeight-header"></a> <b>autoHeight</b> : Boolean <div class="mdesc"> <div class="short"> True表示为使用height:'auto',false表示为使用固定... </div> <div class="long"> True表示为使用height:'auto',false表示为使用固定高度(缺省为false)。
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.BoxComponent" ext:member="#method-autoHeight" href="output/Ext.BoxComponent.html#method-autoHeight"> BoxComponent </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="autoWidth-header"></a> <b>autoWidth</b> : Boolean <div class="mdesc"> <div class="short"> True表示为使用width:'auto',false表示为使用固定宽... </div> <div class="long"> True表示为使用width:'auto',false表示为使用固定宽度(缺省为false)。
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.BoxComponent" ext:member="#method-autoWidth" href="output/Ext.BoxComponent.html#method-autoWidth"> BoxComponent </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="deferHeight-header"></a> <b>deferHeight</b> : Boolean <div class="mdesc"> <div class="short"> True表示为根据外置的组件延时计算高度,false表示允许该组件自行... </div> <div class="long"> True表示为根据外置的组件延时计算高度,false表示允许该组件自行设置高度(缺省为false)。
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.BoxComponent" ext:member="#method-deferHeight" href="output/Ext.BoxComponent.html#method-deferHeight"> BoxComponent </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </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">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -