-
Notifications
You must be signed in to change notification settings - Fork 3.4k
vm.$slots documentation improvement #419
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
Conversation
@LinusBorg - here is my suggestion. Thanks a lot to @kazupon who laid the foundations for this suggestion. |
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.
I proposed a minor change, but nothing significant.
LGTM.
@@ -902,42 +902,38 @@ type: api | |||
|
|||
- **Details:** | |||
|
|||
A hash of VNode children of component that should resolve with slot. VNode children resolved with Single Slot are stored as the `default` key. VNode children resolve with Named Slot are stored as the key that specified with `slot` attribute. those VNode children are stored an Array. | |||
An object that holds virtual nodes containing parent contents used for content distribution (transclusion) inside [slots](/guide/components.html#Content-Distribution-with-Slots). The `default` property contains [single slot](/guide/components.html#Single-Slot) contents. Each [named slot](/guide/components.html#Named-Slots) has its own corresponding property, with the same name of the slot. |
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.
May be because I'm not a native speaker, but I had to read the beginning twice. Maybe this is clearer:
"An object that holds virtual nodes which contain parent contents.."
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.
Ok. Pushed a commit with the change.
But I've made a mistake in the commit message... should I create another PR? (With a single commit and correct message.) Or just let it go?
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.
@jbruni No need to create another PR - we're going to squash before we merge anyway. I have a couple other changes I'd like to make, but I'll just push up those commits on your branch and then merge. 😃 👍
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.
LGTM
vm.$slots documentation improvement (vuejs#419)
* 2.0: (113 commits) fix typos in guide introduction update version select update deploy URL and CNAME update example fiddles add vue-router migration guide improve Vue.extend API docs (vuejs#422) tweak index fix support page mobile sidebar tweak mobile update runtime build info tweak position responsive css redesign homepage 2.0.0-rc.8 update makefile update src links Update index.md (vuejs#421) vm.$slots documentation improvement (vuejs#419) Minor grammar / typo change (vuejs#417) add note about lack of async loading in browserify ...
* vm.$slots documentation improvement * vm.$slots doc fix: 'Render Function' instead of 'Render Functions' * $vm.slots - improved initial sentence * additional tweaks to vm. api entry
* vm.$slots documentation improvement * vm.$slots doc fix: 'Render Function' instead of 'Render Functions' * $vm.slots - improved initial sentence * additional tweaks to vm. api entry
vm.$slots documentation improvement (vuejs#419)
* 2.0: (113 commits) fix typos in guide introduction update version select update deploy URL and CNAME update example fiddles add vue-router migration guide improve Vue.extend API docs (vuejs#422) tweak index fix support page mobile sidebar tweak mobile update runtime build info tweak position responsive css redesign homepage 2.0.0-rc.8 update makefile update src links Update index.md (vuejs#421) vm.$slots documentation improvement (vuejs#419) Minor grammar / typo change (vuejs#417) add note about lack of async loading in browserify ...
No description provided.