Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update events.md - Note on event.target vs event.currentTarget #2919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vHeemstra
Copy link

@vHeemstra vHeemstra commented Dec 11, 2021

Added a note on event.target vs event.currentTarget with respect to referencing the clicked element or potential child elements.
Although this is somewhat outside of the Vue code base, it might be confusing from the given example.
See this documentation for reference.

Added a note on `event.target` vs `event.currentTarget` with respect to referencing the clicked element or potential child elements.
Although this is somewhat outside of the Vue code base, it might be confusing from the given example.
See [this documentation](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget) for reference.
@vHeemstra vHeemstra changed the title Update events.md Update events.md - Note on event.target vs event.currentTarget Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant