UNPKG

blinx

Version:

The Scalable JavaScript Application Framework

104 lines (81 loc) 4.25 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Source: src/constants.js</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Source: src/constants.js</h1> <section> <article> <pre class="prettyprint source linenums"><code>export default { EVENT_ENUM: { /** * The event will be listened even when the module has not been rendered. */ keepOn: "KEEP_ON", /** * Whenever this type of event is published, the module will receive all the past events along with the current event in the form of an array */ replay: "RE_PLAY", /** * {@defaultvalue} If the event is of this type then the module starts listening * to the event once the rendering completes. */ playAfterRender: "PLAY_AFTER_RENDER" }, MODULE_EVENTS: { resolveRenderOn: "resolveRenderOn", render: "render", onRenderComplete: "onRenderComplete", onStatusChange: "onStatusChange", destroy: "destroy" }, onStatusChange_EVENTS: { onCreate: "LIFECYCLE:CREATED", keepOnReplaySubscribed: "LIFECYCLE:KEEP_ON_&amp;_REPLAY_SUBSCRIBED", initOnSubscribed: "LIFECYCLE:INIT_ON_SUBSCRIBED", resolveRenderOnCalled: "LIFECYCLE:RESOLVE_RENDER_ON_CALLED", listensToPlayAfterRenderSubscribed: "LIFECYCLE:LISTENS_TO_PLAY_AFTER_RENDER_SUBSCRIBED", renderCalled: "LIFECYCLE:ON_RENDER_CALLED", onRenderCompleteCalled: "LIFECYCLE:ON_RENDER_CAOMPLETE_CALLED" }, /** * @readonly * @private * @constant {Object} lifeCycleFlags following fields * &lt;ul> * &lt;li>booted: true &lt;/li> * &lt;li>rendered: false&lt;/li> * &lt;li>preRenderResolved: false&lt;/li> * &lt;/ul> */ lifeCycleFlags: { booted: true, preRenderResolved: false, rendered: false } } </code></pre> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Module.html">Module</a></li><li><a href="module-src_interfaces_store.html">src/interfaces/store</a></li></ul><h3>Classes</h3><ul><li><a href="module-Module-Module.html">Module</a></li><li><a href="PubSub.html">PubSub</a></li></ul><h3>Global</h3><ul><li><a href="global.html#_callRender">_callRender</a></li><li><a href="global.html#_callResolveRenderOn">_callResolveRenderOn</a></li><li><a href="global.html#_emitLifeCycleEvent">_emitLifeCycleEvent</a></li><li><a href="global.html#_listenForInitOn">_listenForInitOn</a></li><li><a href="global.html#_lockEvents">_lockEvents</a></li><li><a href="global.html#_onBreath">_onBreath</a></li><li><a href="global.html#_registerModule">_registerModule</a></li><li><a href="global.html#_registerSubscription">_registerSubscription</a></li><li><a href="global.html#_startExec">_startExec</a></li><li><a href="global.html#addMethodsOnInstance">addMethodsOnInstance</a></li><li><a href="global.html#createInstance">createInstance</a></li><li><a href="global.html#deleteInstance">deleteInstance</a></li><li><a href="global.html#destroyModuleInstance">destroyModuleInstance</a></li><li><a href="global.html#eventQ">eventQ</a></li><li><a href="global.html#findInstance">findInstance</a></li><li><a href="global.html#insertInstance">insertInstance</a></li><li><a href="global.html#isBrowser">isBrowser</a></li><li><a href="global.html#isServer">isServer</a></li><li><a href="global.html#iterateToAddMethodsOnInstance">iterateToAddMethodsOnInstance</a></li><li><a href="global.html#lifeCycleFlags">lifeCycleFlags</a></li><li><a href="global.html#Router">Router</a></li><li><a href="global.html#subscriptions">subscriptions</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue Jul 05 2016 12:45:01 GMT+0530 (IST) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>