Events

Event handling between components in pub-sub manner. This example presents usage of EventEmitter class with $on and $emit functions.