๐ธevent.currentTarget
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
browser โฉ event โฉ .currentTarget
the element that registered/handled the event, exactly the same as this
. unless๏ผ
the handler is an arrow function,
or its this
is bound to something else,
then we can get the element from event.currentTarget
.