Document .native modifier on "Event Handling" page
See original GitHub issueThe “Event Handling” page has a handy list of modifiers, which excludes .native
as a valid modifier.
You don’t learn about the .native
modifier until you get all the way down to “Custom Events” (which is a somewhat misleading place to have to go to learn about it).
The .native
modifier should be documented on the “Event Handling” page alongside it’s brothers/sisters.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Event Handling - Vue.js
A method handler automatically receives the native DOM Event object that triggers it ... To address this problem, Vue provides event modifiers for...
Read more >Event handling in native C++ | Microsoft Learn
In native C++ event handling, you set up an event source and event receiver using the event_source and event_receiver attributes, ...
Read more >Handling Events with Vue.js
Types of events you can handle; Event handling methods; Event object; Event modifiers; Custom events; Event bus. When you build a dynamic ...
Read more >Methods and Event Handling - API Manual
Methods and Event Handling · Method Handler · Inline Statement Handler · Event Modifiers · Key Modifiers · Why Listeners in HTML?
Read more >Deep dive into Vue event handling - LogRocket Blog
.prevent modifier in Vue, which calls the native ; event.preventDefault() method. This series of steps prevents the event from reloading the page ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We also might want to hold off on much more work on this as the
.native
modifier might be removed soon (see RFC detail)Thank you for your input!
First of all, we definitely should notify people about unwanted use of
.native
so I’ve submitted a PR to add a console warning when.native
is used incorrectly: https://github.com/vuejs/vue/pull/9884I will think about adding a warning about not using
.native
incorrectly to docs as well.