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

Commits on Dec 11, 2021

  1. Update events.md

    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 authored Dec 11, 2021
    Configuration menu
    Copy the full SHA
    bfc5566 View commit details
    Browse the repository at this point in the history