📄 ext.slider.html
字号:
Component </a> </td> </tr> <tr class="property-row inherited expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="*/-activeItem"></a> <b> */: */</b> <div class="mdesc"> <div class="short"> True表示为该组件已经渲染好了。只读的。 </div> <div class="long"> True表示为该组件已经渲染好了。只读的。 </div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--><a ext:cls="Ext.Component" ext:member="#method-*/" href="output/Ext.Component.html#method-*/"> Component </a> </td> </tr> </table> <a id="Ext.Slider-methods"></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="method-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <!--ClassName--><a id="setValue-setValue"></a> <b>setValue</b> ( <code> Number value, </code> <code> Boolean animate </code> ) <div class="mdesc"> <div class="short">
Programmatically sets the value o... </div> <div class="long">
Programmatically sets the value of the Slider. Ensures that the value is constrained within
the minValue and maxValue.
<div class="mdetail-params"> <strong>参数项:</strong> <ul> <li> <code> value </code> : Number <div class="sub-desc"> The value to set the slider to. (This will be constrained within minValue and maxValue) </div> </li> <li> <code> animate </code> : Boolean <div class="sub-desc"> Turn on or off animation, defaults to true </div> </li> </ul> <b>返回:</b> <ul> <li> <code> void </code> </li> </ul> </div> </div> </div> </td> <td class="msource"> Slider </td> </tr> <tr class="method-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <!--ClassName--><a id="getValue-getValue"></a> <b>getValue</b> ( ) : Number <div class="mdesc"> <div class="short">
Returns the current value of the ... </div> <div class="long">
Returns the current value of the slider
<div class="mdetail-params"> <strong>参数项:</strong> <ul> </ul> <b>返回:</b> <ul> <li> <code> Number </code> The current value of the slider </li> </ul> </div> </div> </div> </td> <td class="msource"> Slider </td> </tr> <tr class="method-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <!--ClassName--><a id="BoxComponent-BoxComponent"></a> <b>BoxComponent</b> ( <code> Ext.Element/String/Object config </code> ) : Ext.BoxComponent <div class="mdesc"> <div class="short"> 构造器 </div> <div class="long"> 构造器 <div class="mdetail-params"> <strong>参数项:</strong> <ul> <li> <code> config </code> : Ext.Element/String/Object <div class="sub-desc"> 配置选项 </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"> </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">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -