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
Add translation of 8-web-components/5-slots-composition/article.md #631
Conversation
|
另外,本 PR 的参考上游 commit 信息需要填写一下 |
|
Roger that !
LeviDing <notifications@github.com> 于2020年3月3日周二 下午1:15写道:
… 另外,本 PR 的参考上游 commit 信息需要填写一下
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#631?email_source=notifications&email_token=AHJRN5T6OME4CSLQ6CHXI3LRFSG67A5CNFSM4LACNR22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENSD33I#issuecomment-593772013>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHJRN5SXTQVE3ZXDLCTCE23RFSG67ANCNFSM4LACNR2Q>
.
|
|
Please make the requested changes. After it, add a comment "/done". |
|
/done |
|
@Baoyuantop 本 PR 出现了 Conflicting files 麻烦看下解决一下 |
|
/done |
|
Please make the requested changes. After it, add a comment "/done". |
|
@Baoyuantop 麻烦再修改一下 |
|
@Baoyuantop 麻烦尽快修改一下~ |
这个 PR 已经很久没有更新了。我就直接更新了,谢谢~
| - `node.assignedSlot` -- returns the `<slot>` element that the `node` is assigned to. | ||
| - `slot.assignedNodes({flatten: true/false})` -- DOM nodes, assigned to the slot. The `flatten` option is `false` by default. If explicitly set to `true`, then it looks more deeply into the flattened DOM, returning nested slots in case of nested components and the fallback content if no node assigned. | ||
| - `slot.assignedElements({flatten: true/false})` -- DOM elements, assigned to the slot (same as above, but only element nodes). | ||
| - `node.assignedSlot` -- 返回将节点分配给的 `<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.
| - `node.assignedSlot` -- 返回将节点分配给的 `<slot>` 元素。 | |
| - `node.assignedSlot` -- 返回`node`被分配到的`<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.
代码块和文字之间的空格是需要的
|
Please make the requested changes. After it, add a comment "/done". |
Co-authored-by: bemself <45781328+bemself@users.noreply.github.com>
Co-authored-by: bemself <45781328+bemself@users.noreply.github.com>
Co-authored-by: bemself <45781328+bemself@users.noreply.github.com>
Co-authored-by: bemself <45781328+bemself@users.noreply.github.com>
Co-authored-by: bemself <45781328+bemself@users.noreply.github.com>
目标章节:8-web-components/5-slots-composition
当前上游最新 commit:javascript-tutorial/en.javascript.info@fcfef6a
本 PR 所做更改如下: