HTMLSlotElement.assignedSlot

This is an experimental technology
Check 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
DOM
The definition of 'assignedSlot' in that specification.
Living Standard  

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
assignedSlotChrome Full support 53Edge Full support YesFirefox Full support YesIE ? Opera Full support 40Safari Full support 10.1WebView Android Full support 53Chrome Android Full support 53Firefox Android Full support YesOpera Android Full support 41Safari iOS Full support 10.1Samsung Internet Android Full support Yes

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown