-
-
Notifications
You must be signed in to change notification settings - Fork 5k
docs(zh): updated #2903
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
docs(zh): updated #2903
Conversation
docs/zh/api/README.md
Outdated
<router-link tag="li" to="/foo"> | ||
<a>/foo</a> | ||
- `href`:解析后的 URL。将会作为一个 `a` 元素的 `href` attribute。 | ||
- `route`:解析后的正常化的地址。 |
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.
normalize 目前约定的是“规范化”,这里要用吗?
docs/zh/api/README.md
Outdated
- `href`:解析后的 URL。将会作为一个 `a` 元素的 `href` attribute。 | ||
- `route`:解析后的正常化的地址。 | ||
- `navigate`:触发导航的函数。**会在必要时自动阻止事件**,和 `router-link` 同理。 | ||
- `isActive`:如果需要应用 [active class](#active-class) 则为 `true`。允许应用一个任意的 class。 |
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.
后文用的是“激活 class”,这里保持一致?
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.
统一成了“激活的 class”和“精确激活的 class”如何?
docs/zh/api/README.md
Outdated
- `route`:解析后的正常化的地址。 | ||
- `navigate`:触发导航的函数。**会在必要时自动阻止事件**,和 `router-link` 同理。 | ||
- `isActive`:如果需要应用 [active class](#active-class) 则为 `true`。允许应用一个任意的 class。 | ||
- `isExactActive`::如果需要应用 [exact active class](#exact-active-class) 则为 `true`。允许应用一个任意的 class。 |
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.
同上
Co-Authored-By: GU Yiling <[email protected]>
Thanks to the both of you! 💚 |
Ref: e05631d...e0d4dc4
/ping @Justineo
Thanks.