onEvent

The callback that is invoked every time an event is sent via EditorEventHandler.

Note that ly.img.editor.core.event.EditorEventHandler.send can be called from any of the callbacks and components of the EditorConfiguration.