All data in from components in fig going upwards is meant to flow through the event bus. It can be accessed through the .on, .once, .off and .emit methods of the fig instance, or with the emit parameter passed to a component.
The methods do what their names' suggest, meant to be used the same as node's built-in EventEmitter. For detailed usage, see the API reference.
Fig emits the following events on all of its instances:
fig ready is emitted after the app is mounted and rendered.
fig update pre is emitted right before the view is updated.
fig update is emitted after the view gets updated.