api slotAPI Reference · Global API · Composition API · Options API · Built-ins · SingleThe slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in. A slot is a placeholder inside a web component.