Skip to content

Update index.md #562

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

Merged
merged 2 commits into from
Oct 16, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/v2/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,17 @@ type: api

- **参考**:[具名插槽](../guide/components.html#具名插槽)

### slot-scope
- **预期**:`function argument expression`

- **用法**:

用于将元素或组件表示为作用域。属性的值应该是可以出现在函数签名的参数位置的有效的 JavaScript 表达式。这意味着在支持的环境中,您还可以在表达式中使用 ES2015 解构。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

您?你?另外文档的其他地方是不是也统一一下关于第二人称的措辞

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SilentDepth @Jinjiang 建议统一成“你”?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用于将元素或组件表示为作用域插槽

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

attribute → 特性,见 #544

valid → 合法的,这里说的是语法。


此属性不支持动态绑定。

- **参考**:[Scoped Slots](../guide/components.html#Scoped-Slots)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

少了源代码的链接

### is

- **预期**:`string`
Expand Down