api.HTMLSlotElement.assign

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 92 on 2021-07-20 Note: Before Chrome 95, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In Chrome Android version 92 on 2021-07-20 Note: Before Chrome Android 95, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In Edge version 92 on 2021-07-22 Note: Before Edge 95, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In Firefox version 92 on 2021-09-07

In Firefox for Android version 92 on 2021-09-07

Not in Internet Explorer

In Quest Browser version 17.0 on 2021-09-13 Note: Before Quest Browser 18.0, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In Opera version 78 on 2021-08-03 Note: Before Opera 81, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In Opera Android version 65 on 2021-10-20 Note: Before Opera Android 67, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In Safari version 16.4 on 2023-03-27

In Safari on iOS version 16.4 on 2023-03-27

In Samsung Internet version 16.0 on 2021-11-25 Note: Before Samsung Internet 17.0, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In WebView Android version 92 on 2021-07-20 Note: Before WebView Android 95, the method accepted any Node instead of just Element and Text. Accepted sequence<Node> instead of (Element or Text)....

In WebView on iOS version 16.4 on 2023-03-27