Baseline Widely Web components

Imperative slot assignment

The assign() method for <slot> elements assigns nodes to the slot, as an alternative to using the slot and name HTML attributes. The nodes must be children of a shadow host and the shadow root must be created with the slotAssignment set to "manual". Also known as manual slot assignment.

Baseline Status
Widely Available
Since 2023-03-27
First Core Launch
Chrome 92
2021-07-20
Core-3 Stability
615d (1.7y)
Last: Safari (2023-03-27)
BCD Keys Mapped
2
Group: Web components

Browser Support Timeline

Chrome v92 (2021-07-20) Chrome Android v92 (2021-07-20) Edge v92 (2021-07-22) Firefox v92 (2021-09-07) Firefox for Android v92 (2021-09-07) Safari v16.4 (2023-03-27) Safari on iOS v16.4 (2023-03-27)
Green dot marks the first browser release (2021-07-20); blue dots show subsequent browser launches (+615d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 92 2021-07-20
Chrome Android mobile 92 2021-07-20
Edge desktop 92 2021-07-22
Firefox desktop 92 2021-09-07
Firefox for Android mobile 92 2021-09-07
Safari desktop 16.4 2023-03-27
Safari on iOS mobile 16.4 2023-03-27

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.HTMLSlotElement.assign DOM API 615d (1.7y)
api.ShadowRoot.slotAssignment DOM API 888d (2.4y)