Add `dataFromClickEvent` method, API-neutral
Improve `dataFromClickEvent` method

Avoid DOM walking, improve reliability
Merge branch 'refs/heads/date-in-eventclicks' into meshmd

* refs/heads/date-in-eventclicks:
  Improve `dataFromClickEvent` method
  Add `dataFromClickEvent` method, API-neutral