-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
typo: style modification #1030
base: main
Are you sure you want to change the base?
typo: style modification #1030
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -264,7 +264,7 @@ methods: { | |||
`.passive` 修饰符一般用于触摸事件的监听器,可以用来[改善移动端设备的滚屏性能](https://developer.mozilla.org/zh-CN/docs/Web/API/EventTarget/addEventListener#%E4%BD%BF%E7%94%A8_passive_%E6%94%B9%E5%96%84%E6%BB%9A%E5%B1%8F%E6%80%A7%E8%83%BD)。 | |||
|
|||
::: tip | |||
请勿同时使用 `.passive` 和 `.prevent`,因为 `.passive` 已经向浏览器表明了你*不想*阻止事件的默认行为。如果你这么做了,则 `.prevent` 会被忽略,并且浏览器会抛出警告。 | |||
请勿同时使用 `.passive` 和 `.prevent`,因为 `.passive` 已经向浏览器表明了你不想阻止事件的默认行为。如果你这么做了,则 `.prevent` 会被忽略,并且浏览器会抛出警告。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英文文档看起来是美观的,中文文档这边我个人觉得看着很别扭。
如果要保持斜体是否要针对这种中文的情况怎么处理修改下~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这种用于强调的句式按照以前的案例是不需要修改的,保持与英文文档一致即可
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这种用于强调的句式按照以前的案例是不需要修改的,保持与英文文档一致即可
好的,已回退。英文文档的URL也替换为最新的 MDN URL
This reverts commit 5b68065.
在创建 pull request 之前
请确认:
问题描述