x-tag / x-tag.github.io

The X-Tag website
MIT License
7 stars 7 forks source link

x-tag event delegation: accessing the root element #3

Closed Eeliya closed 8 years ago

Eeliya commented 8 years ago

The is no clear documentation how to access the root element (custom element) from within a event handler with delegation

csuwildcat commented 8 years ago

This is available via the standard event property that references the event-attached element event.currentTarget