HTMLSlotElement.assignedSlot
assignedSlot 是 Text 接口的属性,返回与该元素相关联的HTMLSlotElement .
Syntax
var htmlSlotElement = text.assignedSlot
Value
一个 HTMLSlotElement 对象。
Specifications
| Specification | 
|---|
| DOM Standard  # dom-slotable-assignedslot  | 
Browser Compatibility
BCD tables only load in the browser