Web/API/Text/assignedSlot

From Get docs
< Web/API‎ | Text

This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.


The assignedSlot property of the Text interface returns the HTMLSlotElement object associated with the element.

Syntax

var htmlSlotElement = text.assignedSlot

Value

HTMLSlotElement object.

Specifications

Specification Status Comment
DOMThe definition of 'assignedSlot' in that specification. Living Standard  

Browser Compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
assignedSlot Chrome

Full support 53

Edge

Full support ≤18

Firefox

Full support Yes

IE

No support No

Opera

Full support 40

Safari

Full support 10.1

WebView Android

Full support 53

Chrome Android

Full support 53

Firefox Android

Full support Yes

Opera Android

Full support 41

Safari iOS

Full support 10.3

Samsung Internet Android

Full support 6.0

Legend

Full support  
Full support
No support  
No support