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

doc:fix method handler access the DOM element way #2824

Merged
merged 1 commit into from Apr 25, 2024
Merged

Conversation

coderZoe
Copy link
Contributor

Description of Problem

The documentation mentions that method handler can access the DOM element through event.target.tagName. However, I think that event.target.tagName actually retrieves the tag name of the DOM element, not the DOM element itself. To access the DOM element directly, one should use event.target.

Proposed Solution

I suggest updating the documentation to replace event.target.tagName with event.target.

Additional Information

Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 2dd1459
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/662a2503094fd40009692f25
😎 Deploy Preview https://deploy-preview-2824--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@brc-dd brc-dd merged commit ab109fd into vuejs:main Apr 25, 2024
5 checks passed
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.

None yet

2 participants