-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Document .native modifier on "Event Handling" page #2126
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
Comments
Thank you for reporting this issue! It was previously discussed within the docs team and we decided to leave it as-is for now. The reason is: having If we need a reference to all possible event modifiers tho, we have |
I agree, having people use Take one person's opinion with a grain of salt, but the way I parse the Components In-Depth section which introduces My suggestion for clarity and focus would be:
On the Components In-Depth page:
|
Thank you for your input! First of all, we definitely should notify people about unwanted use of I will think about adding a warning about not using |
We also might want to hold off on much more work on this as the |
Here is also one suggestion I made to a PR about this (feel free to use if it seems relevant but I defer to @NataliaTepluhina on the matter) #1745 (comment) |
@thejcannon as vuejs/vue#9884 got merged, user will get a console warning now when trying to use a Thank you for reporting this issue and for the discussion! I really appreciate your arguments and they led to the slight change in the Vue core 🎉 |
The "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.The text was updated successfully, but these errors were encountered: