mdn slotelement .slot = aString. A DOMString. The definition of 'slot' in that specification. The slot property of the Element interface returns the name of the shadow DOM slot attached to the element. AA named slot is a slot> element with a name attribute. Example. Let’s make an example using the slot> element along with the template> element. Partnering slot> with