Additionally, the shadow tree includes two SVG elements that I need to track.
此外,影像树包含两个需要跟踪的svg元素。
How do these ids remain unique if they're replicated in each generated shadow tree?
这些id如何在生成的每个影像树中保持唯一性呢?
Basically, the attribute values are read off the instance element and copied to the right places in the shadow tree.
基本上是把属性值从实例元素中读出,并复制到影像树中的适当位置。
As I said earlier, this is where you place all the SVG that is copied into the shadow tree of each custom element instance.
如前所述,在这里可以放置需要复制到每个定制元素实例影像树中的任何SVG。
The contents of this element are automatically copied into the shadow tree of each instance of the element for which it is defined at binding time.
该元素的内容被自动复制到绑定时定义的每个元素实例的影像树中。
The contents of this element are automatically copied into the shadow tree of each instance of the element for which it is defined at binding time.
该元素的内容被自动复制到绑定时定义的每个元素实例的影像树中。
应用推荐