p>Add an event listener to this component's element</p>
<pre class="prettyprint source lang-js"><code>    var myFunc = function(){
      var myComponent = this;
      // Do something when the event is fired
    };

    myComponent.on('eventType', myFunc);</code></pre><p>The context of myFunc will be myComponent unless previously bound.
Alternatively, you can add a listener to another element or component.</p>
<pre class="prettyprint source lang-js"><code>    myComponent.on(otherElement, 'eventName', myFunc)