event.currentTarget
Last updated
Was this helpful?
Last updated
Was this helpful?
⟩ ⟩ .currentTarget
the element that /handled the event, exactly the same as . unless:
the handler is an ,
or its this
is bound to something else,
then we can get the element from .