Skip to content

omphalos.event.raise

function omphalos.event.raise(event, data)

Send a named event message to all assets in the current bundle; data can be any desired value, so long as it is JSON-encodeable.

To send a message to items in a different bundle, use omphalos.event.raiseToBundle() instead.

The message will be transmitted to all graphic, panel and extension listeners in the current bundle, except for the sender, and can be listened for via omphalos.event.on().