docu(readme): Add example on how to register a DOM event

Add an example in the readme and demo on how to register a DOM event to get the task click and row click events.