Skip to content

Synced recent (docs) updates #699

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
Apr 6, 2018
Merged

Synced recent (docs) updates #699

merged 2 commits into from
Apr 6, 2018

Conversation

Jinjiang
Copy link
Member

@Jinjiang Jinjiang commented Apr 5, 2018

... except /v2/guide/components* and /v2/cookbook/* which will be updated later.
Ref: vuejs/v2.vuejs.org@c3c5949...c3d2cdf
Thanks.

@Jinjiang Jinjiang requested a review from Justineo April 5, 2018 13:27
@Jinjiang Jinjiang changed the title Synced recent (code) updates Synced recent (docs) updates Apr 5, 2018
- `props`:提供 `props` 的对象
- `children`: `VNode` 子节点的数组
- `slots`: `slots` 对象
- `data`:传递给组件的 [`data` 对象](#深入-data-对象),并将这个组件作为第二个参数传入 `createElement`
Copy link
Member

Choose a reason for hiding this comment

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

我理解这里冒号后面的都不是 code,应该翻译。

- `parent`:对父组件的引用
- `listeners`: (2.3.0+) 一个包含了组件上所注册的 `v-on` 侦听器的对象。这只是一个指向 `data.on` 的别名。
- `listeners`: (2.3.0+) 一个包含了所有在父组件上注册的事件侦听器的对象。这只是一个指向 `data.on` 的别名。
Copy link
Member Author

Choose a reason for hiding this comment

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

现在的版本如何?

@Jinjiang Jinjiang merged commit 3889093 into master Apr 6, 2018
@Jinjiang Jinjiang deleted the sync-docs branch April 6, 2018 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants