-
Notifications
You must be signed in to change notification settings - Fork 0
core events
James edited this page Apr 6, 2017
·
2 revisions
/**
* @event core.create
* @param {Core} core
* @param {object} coreConfig
*
* on, evt, once
*//**
* @see fliplog.reset
* @see this.core.reset
* @see this.evt.reset
*//**
* @see this.contexts
* @return {Array<String>}
*//**
* filter the contexts
* @see this.contextType
* @param {Array<string>} names
* @return {Workflow}
*//**
* @param {Array<Context>} contexts
* @return {Workflow}
*//**
* @param {string} name
* @return {Workflow}
*//**
* @param {Function} cb
* @return {Array<any>}
*//**
* @event context.*.any
* @param {string} eventName
* @return {Workflow}
*//**
* @event core.create
* @return {Workflow}
*//**
* @event core.init
* @return {Workflow}
*//**
* @param {Workflow} parent
* add shorthand methods to allow chaining
*//**
* if they pass a string into `on` or `once`
* instead of `name`, use that instead
*
* @see this.once
* @param {string} [name]
* @param {Function} [cb]
* @return {EventChain}
*//**
* if they pass a string into `on` or `once`
* instead of `name`, use that instead
*
* @see this.on
* @param {string} [name]
* @param {Function} [cb]
* @return {EventChain}
*//**
* @return {EventChain}
*//**
* take our chained settings
* make it into a namespaced string event
*
*
* @see this.workflow, this.context, this.core, this.name
* @return {string | Object}
*//**
* @see this.getName
* @param {mixed} [data]
* @return {EventChain}
*//**
* final piece in a chain
* @see this.getName
* @param {Function} cb
* @return {EventChain}
*/