target property

dynamic target

A reference to the object that dispatched the event. It is different from currentTarget when the Event handler is called when eventPhase is Event.BUBBLING_PHASE or Event.CAPTURING_PHASE.

See: developer.mozilla.org/en-US/docs/Web/API/Event/target

Implementation

external /*DOMEventTarget*/ get target;