Web Interface For Lite Argus Control modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
50 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.EventManager-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>&#13;<a class="inner-link" href="#Ext.EventManager-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a>&#13;<a class="inner-link" href="#Ext.EventManager-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a>&#13;<a class="bookmark" href="../docs/?class=Ext.EventManager"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>&#13;</div><h1>Class <a href="source/EventManager.html#cls-Ext.EventManager">Ext.EventManager</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/EventManager.html#cls-Ext.EventManager">EventManager.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/EventManager.html#cls-Ext.EventManager">EventManager</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description">Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides
  2. several useful events directly.
  3. See <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> for more details on normalized event objects.<br><br><i>This class is a singleton and cannot be created directly.</i></div><div class="hr"></div><a id="Ext.EventManager-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-A"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-A">A</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-ALT"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-ALT">ALT</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-B"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-B">B</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-BACKSPACE"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-BACKSPACE">BACKSPACE</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-C"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-C">C</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-CAPS_LOCK"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-CAPS_LOCK">CAPS_LOCK</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-CONTEXT_MENU"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-CONTEXT_MENU">CONTEXT_MENU</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-CTRL"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-CTRL">CTRL</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-D"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-D">D</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-DELETE"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-DELETE">DELETE</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-DOWN"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-DOWN">DOWN</a></b> : Number<div class="mdesc">Key constant</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-E"></a><b><a href="source/EventMana
  4. https://bugs.webkit.org/show_bug.cgi?id=1334...</div><div class="long">In Webkit, there is an issue with getting the margin right property, see
  5. https://bugs.webkit.org/show_bug.cgi?id=13343</div></div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-correctTransparentColor"></a><b><a href="source/EventManager.html#prop-Ext.EventManager-correctTransparentColor">correctTransparentColor</a></b> : Object<div class="mdesc">Webkit browsers return rgba(0, 0, 0) when a transparent color is used</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-cssFloat"></a><b><a href="source/EventManager.html#prop-Ext.EventManager-cssFloat">cssFloat</a></b> : Object<div class="mdesc">IE uses styleFloat, not cssFloat for the float property.</div></td><td class="msource">EventManager</td></tr><tr class="property-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-fireDocReady"></a><b><a href="source/EventManager.html#prop-Ext.EventManager-fireDocReady">fireDocReady</a></b> : Object<div class="mdesc"><div class="short">Forces a document ready state transition for the framework. Used when Ext is loaded
  6. into a DOM structure AFTER initi...</div><div class="long">Forces a document ready state transition for the framework. Used when Ext is loaded
  7. into a DOM structure AFTER initial page load (Google API or other dynamic load scenario.
  8. Any pending 'onDocumentReady' handlers will be fired (if not already handled).</div></div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-function"></a><b><a href="source/EventManager.html#prop-Ext.EventManager-function">function</a></b> : Object<div class="mdesc">Code used to detect certain browser feature/quirks/bugs at startup.</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-ieDeferSrc"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-ieDeferSrc">ieDeferSrc</a></b> : Object<div class="mdesc">Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL)</div></td><td class="msource">EventManager</td></tr><tr class="property-row "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-textResizeInterval"></a><b><a href="source/EventManager-more.html#prop-Ext.EventManager-textResizeInterval">textResizeInterval</a></b> : Object<div class="mdesc">The frequency, in milliseconds, to check for text resize events (defaults to 50)</div></td><td class="msource">EventManager</td></tr></tbody></table><a id="Ext.EventManager-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-addListener"></a><b><a href="source/EventManager.html#method-Ext.EventManager-addListener">addListener</a></b>(&nbsp;<code>String/HTMLElement&nbsp;el</code>,&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;handler</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;options</code>]</span>&nbsp;)
  9. :
  10. void<div class="mdesc"><div class="short">Appends an event handler to an element. The shorthand version on is equivalent. Typically you will
  11. use Ext.Element....</div><div class="long">Appends an event handler to an element. The shorthand version <a href="output/Ext.EventManager.html#Ext.EventManager-on" ext:member="on" ext:cls="Ext.EventManager">on</a> is equivalent. Typically you will
  12. use <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</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 html element or id to assign the event handler to.</div></li><li><code>eventName</code> : String<div class="sub-desc">The name of the event to listen for.</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler function the event invokes. This function is passed
  13. the following parameters:<ul>
  14. <li>evt : EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">EventObject</a> describing the event.</div></li>
  15. <li>t : Element<div class="sub-desc">The <a href="output/Ext.Element.html" ext:cls="Ext.Element">Element</a> which was the target of the event.
  16. Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
  17. <li>o : Object<div class="sub-desc">The options object from the addListener call.</div></li>
  18. </ul></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<b><code>this</code></b> reference) in which the handler function is executed. <b>Defaults to the Element</b>.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration properties.
  19. This may contain any of the following properties:<ul>
  20. <li>scope : Object<div class="sub-desc">The scope (<b><code>this</code></b> reference) in which the handler function is executed. <b>Defaults to the Element</b>.</div></li>
  21. <li>delegate : String<div class="sub-desc">A simple selector to filter the target or look for a descendant of the target</div></li>
  22. <li>stopEvent : Boolean<div class="sub-desc">True to stop the event. That is stop propagation, and prevent the default action.</div></li>
  23. <li>preventDefault : Boolean<div class="sub-desc">True to prevent the default action</div></li>
  24. <li>stopPropagation : Boolean<div class="sub-desc">True to prevent event propagation</div></li>
  25. <li>normalized : Boolean<div class="sub-desc">False to pass a browser event to the handler function instead of an Ext.EventObject</div></li>
  26. <li>delay : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after te event fires.</div></li>
  27. <li>single : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
  28. <li>buffer : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="output/Ext.util.DelayedTask.html" ext:cls="Ext.util.DelayedTask">Ext.util.DelayedTask</a> delayed
  29. by the specified number of milliseconds. If the event fires again within that time, the original
  30. handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
  31. <li>target : Element<div class="sub-desc">Only call the handler if the event was fired on the target Element, <i>not</i> if the event was bubbled up from a child node.</div></li>
  32. </ul><br>
  33. <p>See <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</a> for examples of how to use these options.</p></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-function"></a><b><a href="source/EventManager.html#method-Ext.EventManager-function">function</a></b>()
  34. :
  35. Boolean<div class="mdesc"><div class="short"></div><div class="long"><div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if the document is in a 'complete' state (or was determined to
  36. be true by other means). If false, the state is evaluated again until canceled.</div></li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-hasModifier"></a><b><a href="source/EventManager-more.html#method-Ext.EventManager-hasModifier">hasModifier</a></b>()
  37. :
  38. Boolean<div class="mdesc"><div class="short">Returns true if the control, meta, shift or alt key was pressed during this event.</div><div class="long">Returns true if the control, meta, shift or alt key was pressed during this event.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-on"></a><b><a href="source/EventManager.html#method-Ext.EventManager-on">on</a></b>(&nbsp;<code>String/HTMLElement&nbsp;el</code>,&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;handler</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;options</code>]</span>&nbsp;)
  39. :
  40. void<div class="mdesc"><div class="short">Appends an event handler to an element. Shorthand for addListener.</div><div class="long">Appends an event handler to an element. Shorthand for <a href="output/Ext.EventManager.html#Ext.EventManager-addListener" ext:member="addListener" ext:cls="Ext.EventManager">addListener</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The html element or id to assign the event handler to</div></li><li><code>eventName</code> : String<div class="sub-desc">The name of the event to listen for.</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler function the event invokes.</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) (<code>this</code> reference) in which the handler function executes. <b>Defaults to the Element</b>.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing standard <a href="output/Ext.EventManager.html#Ext.EventManager-addListener" ext:member="addListener" ext:cls="Ext.EventManager">addListener</a> options</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-onDocumentReady"></a><b><a href="source/EventManager.html#method-Ext.EventManager-onDocumentReady">onDocumentReady</a></b>(&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<span title="Optional" class="optional">[<code>Object&nbsp;scope</code>]</span>,&nbsp;<span title="Optional" class="optional">[<code>boolean&nbsp;options</code>]</span>&nbsp;)
  41. :
  42. void<div class="mdesc"><div class="short">Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
  43. access...</div><div class="long">Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
  44. accessed shorthanded as Ext.onReady().<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">(optional) The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.</div></li><li><code>options</code> : boolean<div class="sub-desc">(optional) Options object as passed to <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</a>. It is recommended that the options
  45. <code>{single: true}</code> be used so that the handler is removed on first invocation.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-onTextResize"></a><b><a href="source/EventManager-more.html#method-Ext.EventManager-onTextResize">onTextResize</a></b>(&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>,&nbsp;<code>boolean&nbsp;options</code>&nbsp;)
  46. :
  47. void<div class="mdesc"><div class="short">Adds a listener to be notified when the user changes the active text size. Handler gets called with 2 params, the old...</div><div class="long">Adds a listener to be notified 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 function the event invokes.</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.</div></li><li><code>options</code> : boolean<div class="sub-desc">Options object as passed to <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</a></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-onWindowResize"></a><b><a href="source/EventManager-more.html#method-Ext.EventManager-onWindowResize">onWindowResize</a></b>(&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>,&nbsp;<code>boolean&nbsp;options</code>&nbsp;)
  48. :
  49. void<div class="mdesc"><div class="short">Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 millisecon...</div><div class="long">Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 milliseconds),
  50. 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 handler function the window resize event invokes.</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.</div></li><li><code>options</code> : boolean<div class="sub-desc">Options object as passed to <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">Ext.Element.addListener</a></div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-removeAll"></a><b><a href="source/EventManager.html#method-Ext.EventManager-removeAll">removeAll</a></b>(&nbsp;<code>String/HTMLElement&nbsp;el</code>&nbsp;)
  51. :
  52. void<div class="mdesc"><div class="short">Removes all event handers from an element. Typically you will use Ext.Element.removeAllListeners
  53. directly on an Elem...</div><div class="long">Removes all event handers from an element. Typically you will use <a href="output/Ext.Element.html#Ext.Element-removeAllListeners" ext:member="removeAllListeners" ext:cls="Ext.Element">Ext.Element.removeAllListeners</a>
  54. 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 all event handlers.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-removeListener"></a><b><a href="source/EventManager.html#method-Ext.EventManager-removeListener">removeListener</a></b>(&nbsp;<code>String/HTMLElement&nbsp;el</code>,&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
  55. :
  56. void<div class="mdesc"><div class="short">Removes an event handler from an element. The shorthand version un is equivalent. Typically
  57. you will use Ext.Elemen...</div><div class="long">Removes an event handler from an element. The shorthand version <a href="output/Ext.EventManager.html#Ext.EventManager-un" ext:member="un" ext:cls="Ext.EventManager">un</a> is equivalent. Typically
  58. you will use <a href="output/Ext.Element.html#Ext.Element-removeListener" ext:member="removeListener" ext:cls="Ext.Element">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 listener.</div></li><li><code>eventName</code> : String<div class="sub-desc">The name of the event.</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.EventManager.html#Ext.EventManager-addListener" ext:member="addListener" ext:cls="Ext.EventManager">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
  59. then this must refer to the same object.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-removeResizeListener"></a><b><a href="source/EventManager-more.html#method-Ext.EventManager-removeResizeListener">removeResizeListener</a></b>(&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
  60. :
  61. 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>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi">&nbsp;</a></td><td class="sig"><a id="Ext.EventManager-un"></a><b><a href="source/EventManager.html#method-Ext.EventManager-un">un</a></b>(&nbsp;<code>String/HTMLElement&nbsp;el</code>,&nbsp;<code>String&nbsp;eventName</code>,&nbsp;<code>Function&nbsp;fn</code>,&nbsp;<code>Object&nbsp;scope</code>&nbsp;)
  62. :
  63. void<div class="mdesc"><div class="short">Removes an event handler from an element. Shorthand for removeListener.</div><div class="long">Removes an event handler from an element. Shorthand for <a href="output/Ext.EventManager.html#Ext.EventManager-removeListener" ext:member="removeListener" ext:cls="Ext.EventManager">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 listener.</div></li><li><code>eventName</code> : String<div class="sub-desc">The name of the event.</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.EventManager.html#Ext.EventManager-on" ext:member="on" ext:cls="Ext.EventManager">on</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
  64. then this must refer to the same object.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">EventManager</td></tr></tbody></table><a id="Ext.EventManager-events"></a><h2>Public Events</h2><div class="no-members">This class has no public events.</div></div>