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

📄 ext.eventmanager.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.EventManager-onTextResize"></a>            <b>onTextResize</b>(&nbsp;<code>Function fn</code>, <code>Object scope</code>, <code>boolean options</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Fires when the user changes the active text size. Handler gets called with 2 params, the old size and the new size.</div>            <div class="long">                Fires when the user changes the active text size. Handler gets called with 2 params, the old size and the new size.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>fn</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">An object that becomes the scope of the handler</div></li><li><code>options</code> : boolean<div class="sub-desc"></div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.EventManager-onWindowResize"></a>            <b>onWindowResize</b>(&nbsp;<code>Function fn</code>, <code>Object scope</code>, <code>boolean options</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Fires when the window is resized and provides resize event buffering (50 milliseconds), passes new viewport width and...</div>            <div class="long">                Fires when the window is resized and provides resize event buffering (50 milliseconds), passes new viewport width and height to handlers.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>fn</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">An object that becomes the scope of the handler</div></li><li><code>options</code> : boolean<div class="sub-desc"></div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.EventManager-removeAll"></a>            <b>removeAll</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Removes all event handers from an element.  Typically you will use Ext.Element.removeAllListenersdirectly on an Elem...</div>            <div class="long">                Removes all event handers from an element.  Typically you will use <a ext:cls="Ext.Element" ext:member="removeAllListeners" href="output/Ext.Element.html#removeAllListeners">Ext.Element.removeAllListeners</a>directly on an Element in favor of calling this version.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The id or html element from which to remove the event</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.EventManager-removeListener"></a>            <b>removeListener</b>(&nbsp;<code>String/HTMLElement el</code>, <code>String eventName</code>, <code>Function fn</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Removes an event handler from an element.  The shorthand version un is equivalent.  Typicallyyou will use Ext.Elemen...</div>            <div class="long">                Removes an event handler from an element.  The shorthand version <a ext:cls="Ext.EventManager" ext:member="un" href="output/Ext.EventManager.html#un">un</a> is equivalent.  Typicallyyou will use <a ext:cls="Ext.Element" ext:member="removeListener" href="output/Ext.Element.html#removeListener">Ext.Element.removeListener</a> directly on an Element in favor of calling this version.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The id or html element from which to remove the event</div></li><li><code>eventName</code> : String<div class="sub-desc">The type of event</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function to remove</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.EventManager-removeResizeListener"></a>            <b>removeResizeListener</b>(&nbsp;<code>Function fn</code>, <code>Object scope</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Removes the passed window resize listener.</div>            <div class="long">                Removes the passed window resize listener.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>fn</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope of handler</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.EventManager-un"></a>            <b>un</b>(&nbsp;<code>String/HTMLElement el</code>, <code>String eventName</code>, <code>Function fn</code>&nbsp;) : Boolean            <div class="mdesc">                        <div class="short">Removes an event handler from an element.  Shorthand for <a ext:cls="Ext.EventManager" ext:member="removeListener" href="output/Ext.EventManager.html#removeListener">removeListener</a>.</div>            <div class="long">                Removes an event handler from an element.  Shorthand for <a ext:cls="Ext.EventManager" ext:member="removeListener" href="output/Ext.EventManager.html#removeListener">removeListener</a>.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The id or html element from which to remove the event</div></li><li><code>eventName</code> : String<div class="sub-desc">The type of event</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function to remove</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Boolean</code><div class="sub-desc">True if a listener was actually removed, else false</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">EventManager</td>    </tr>            </table>                <a id="Ext.EventManager-events"></a>        <h2>Public Events</h2>        <div class="no-members">This class has no public events.</div>        </div>

⌨️ 快捷键说明

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