Text: assignedSlot Eigenschaft

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

We'd love to hear more about your role and the company you work for
Please help us by answering a few questions.

Die schreibgeschützte assignedSlot Eigenschaft der Text-Schnittstelle gibt das HTMLSlotElement-Objekt zurück, das mit dem Element verknüpft ist.

Wert

Ein HTMLSlotElement, oder null, wenn kein <slot>-Element mit dem Textknoten verknüpft ist.

Spezifikationen

Specification
DOM
# dom-slotable-assignedslot

Browser-Kompatibilität