Added an example for custom click and hover events.