UNPKG

gs-events

Version:

事件分发器(同步)

413 lines (215 loc) 12.2 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl" href="../../"> <title data-ice="title">EventPhase | gs-events</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css"> <script src="script/prettify/prettify.js"></script> <script src="script/manual.js"></script> <meta name="description" content="&#x4E8B;&#x4EF6;&#x5206;&#x53D1;&#x5668;&#xFF08;&#x540C;&#x6B65;&#xFF09;"><meta property="twitter:card" content="summary"><meta property="twitter:title" content="gs-events"><meta property="twitter:description" content="&#x4E8B;&#x4EF6;&#x5206;&#x53D1;&#x5668;&#xFF08;&#x540C;&#x6B65;&#xFF09;"></head> <body class="layout-container" data-ice="rootContainer"> <header> <a href="./">Home</a> <a href="identifiers.html">Reference</a> <a href="source.html">Source</a> <div class="search-box"> <span> <img src="./image/search.png"> <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span> </span> <ul class="search-result"></ul> </div> <a style="position:relative; top:3px;" href="https://github.com/guless/events"><img width="20px" src="./image/github.png"></a></header> <nav class="navigation" data-ice="nav"><div> <ul> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/CustomEvent.js~CustomEvent.html">CustomEvent</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/Event.js~Event.html">Event</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/EventDispatcher.js~EventDispatcher.html">EventDispatcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/EventListener.js~EventListener.html">EventListener</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/EventListenerOptions.js~EventListenerOptions.html">EventListenerOptions</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/EventPhase.js~EventPhase.html">EventPhase</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-interface">I</span><span data-ice="name"><span><a href="class/src/IEventDispatcher.js~IEventDispatcher.html">IEventDispatcher</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-interface">I</span><span data-ice="name"><span><a href="class/src/IEventListener.js~IEventListener.html">IEventListener</a></span></span></li> <li data-ice="doc"><span data-ice="kind" class="kind-interface">I</span><span data-ice="name"><span><a href="class/src/IEventListenerOptions.js~IEventListenerOptions.html">IEventListenerOptions</a></span></span></li> </ul> </div> </nav> <div class="content" data-ice="content"><div class="header-notice"> <div data-ice="importPath" class="import-path"><pre class="prettyprint"><code data-ice="importPathCode">import EventPhase from &apos;<span><a href="file/src/EventPhase.js.html#lineNumber43">gs-events/src/EventPhase.js</a></span>&apos;</code></pre></div> <span data-ice="access">public</span> <span data-ice="kind">class</span> <span data-ice="since">| since 1.0.0</span> <span data-ice="source">| <span><a href="file/src/EventPhase.js.html#lineNumber43">source</a></span></span> </div> <div class="self-detail detail"> <h1 data-ice="name">EventPhase</h1> <div class="description" data-ice="description"><p>&#x5B9A;&#x4E49; <span><a href="class/src/EventDispatcher.js~EventDispatcher.html">EventDispatcher</a></span> &#x6D3E;&#x53D1;&#x4E8B;&#x4EF6;&#x7684;&#x9636;&#x6BB5;&#x7684;&#x5E38;&#x91CF;&#x3002;</p> </div> </div> <div data-ice="staticMemberSummary"><h2>Static Member Summary</h2><table class="summary" data-ice="summary"> <thead><tr><td data-ice="title" colspan="3">Static Public Members</td></tr></thead> <tbody> <tr data-ice="target"> <td> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="override" data-ice="override"></span> </td> <td> <div> <p> <span class="code" data-ice="name"><span><a href="class/src/EventPhase.js~EventPhase.html#static-member-AT_TARGET">AT_TARGET</a></span></span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> </p> </div> <div> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5904;&#x4E8E;&#x76EE;&#x6807;&#x9636;&#x6BB5;&#x3002;</p> </div> </div> </td> <td> <span class="since" data-ice="since">since 1.0.0</span> </td> </tr> <tr data-ice="target"> <td> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="override" data-ice="override"></span> </td> <td> <div> <p> <span class="code" data-ice="name"><span><a href="class/src/EventPhase.js~EventPhase.html#static-member-BUBBLING_PHASE">BUBBLING_PHASE</a></span></span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> </p> </div> <div> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5904;&#x4E8E;&#x5192;&#x6CE1;&#x9636;&#x6BB5;&#x3002;</p> </div> </div> </td> <td> <span class="since" data-ice="since">since 1.0.0</span> </td> </tr> <tr data-ice="target"> <td> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="override" data-ice="override"></span> </td> <td> <div> <p> <span class="code" data-ice="name"><span><a href="class/src/EventPhase.js~EventPhase.html#static-member-CAPTURING_PHASE">CAPTURING_PHASE</a></span></span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> </p> </div> <div> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5904;&#x4E8E;&#x6355;&#x83B7;&#x9636;&#x6BB5;&#x3002;</p> </div> </div> </td> <td> <span class="since" data-ice="since">since 1.0.0</span> </td> </tr> <tr data-ice="target"> <td> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="override" data-ice="override"></span> </td> <td> <div> <p> <span class="code" data-ice="name"><span><a href="class/src/EventPhase.js~EventPhase.html#static-member-NONE">NONE</a></span></span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> </p> </div> <div> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x7684;&#x521D;&#x59CB;&#x72B6;&#x6001;&#x3002;</p> </div> </div> </td> <td> <span class="since" data-ice="since">since 1.0.0</span> </td> </tr> </tbody> </table> </div> <div data-ice="staticMemberDetails"><h2 data-ice="title">Static Public Members</h2> <div class="detail" data-ice="detail"> <h3 data-ice="anchor" id="static-member-AT_TARGET"> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="code" data-ice="name">AT_TARGET</span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> <span class="right-info"> <span class="since" data-ice="since">since 1.0.0</span> <span data-ice="source"><span><a href="file/src/EventPhase.js.html#lineNumber66">source</a></span></span> </span> </h3> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5904;&#x4E8E;&#x76EE;&#x6807;&#x9636;&#x6BB5;&#x3002;</p> </div> <div data-ice="properties"> </div> </div> <div class="detail" data-ice="detail"> <h3 data-ice="anchor" id="static-member-BUBBLING_PHASE"> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="code" data-ice="name">BUBBLING_PHASE</span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> <span class="right-info"> <span class="since" data-ice="since">since 1.0.0</span> <span data-ice="source"><span><a href="file/src/EventPhase.js.html#lineNumber74">source</a></span></span> </span> </h3> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5904;&#x4E8E;&#x5192;&#x6CE1;&#x9636;&#x6BB5;&#x3002;</p> </div> <div data-ice="properties"> </div> </div> <div class="detail" data-ice="detail"> <h3 data-ice="anchor" id="static-member-CAPTURING_PHASE"> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="code" data-ice="name">CAPTURING_PHASE</span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> <span class="right-info"> <span class="since" data-ice="since">since 1.0.0</span> <span data-ice="source"><span><a href="file/src/EventPhase.js.html#lineNumber58">source</a></span></span> </span> </h3> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5904;&#x4E8E;&#x6355;&#x83B7;&#x9636;&#x6BB5;&#x3002;</p> </div> <div data-ice="properties"> </div> </div> <div class="detail" data-ice="detail"> <h3 data-ice="anchor" id="static-member-NONE"> <span class="access" data-ice="access">public</span> <span data-ice="static">static</span> <span class="code" data-ice="name">NONE</span><span class="code" data-ice="signature">: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></span></span> <span class="right-info"> <span class="since" data-ice="since">since 1.0.0</span> <span data-ice="source"><span><a href="file/src/EventPhase.js.html#lineNumber50">source</a></span></span> </span> </h3> <div data-ice="description"><p>&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x7684;&#x521D;&#x59CB;&#x72B6;&#x6001;&#x3002;</p> </div> <div data-ice="properties"> </div> </div> </div> </div> <footer class="footer"> Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.0.4)</span><img src="./image/esdoc-logo-mini-black.png"></a> </footer> <script src="script/search_index.js"></script> <script src="script/search.js"></script> <script src="script/pretty-print.js"></script> <script src="script/inherited-summary.js"></script> <script src="script/test-summary.js"></script> <script src="script/inner-link.js"></script> <script src="script/patch-for-local.js"></script> </body> </html>