You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
one.on('click .two', function (e, el) {
// e.target = can be a descendant
// el == the delegate root
// this == xxx
}.bind(xxx))
There is no way you can access the actual element (.two). jQuery exposes it as e.currentTarget (I think), along with e.delegateTarget. Should we manipulate the event object too, maybe also normalize e.keyCode/which while we're at it?
The text was updated successfully, but these errors were encountered:
Let's say you have
There is no way you can access the actual element (
.two
). jQuery exposes it ase.currentTarget
(I think), along withe.delegateTarget
. Should we manipulate the event object too, maybe also normalize e.keyCode/which while we're at it?The text was updated successfully, but these errors were encountered: