on()

Listen on particular event.

* presents a required parameter

  • event * — The event name
  • func * — The event handler.