Son, Husband & Musician. Executive Producer for Jamila Woods & Add-2. Opened for Tech 9, Ron Carroll, Mayer Hawthorne, Lunice, Ohbliv, Ghostface & Rakim. To get started, visit a retailer like Slot Machines Unlimited, a well-known slot machine dealer and wholesaler based in the US. The family-run business sells used machines that are refurbished to.
The HTML <slot>
element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.
Content categories | Flow content, phrasing content |
---|---|
Permitted content | Transparent |
Events | slotchange |
Tag omission | None, both the starting and ending tag are mandatory. |
Permitted parents | Any element that accepts phrasing content |
Implicit ARIA role | No corresponding role |
Permitted ARIA roles | No role permitted |
DOM interface | HTMLSlotElement |
This element includes the global attributes.
name
<slot>
element with a name
attribute.Note: You can see this complete example in action at element-details (see it running live). In addition, you can find an explanation at Using templates and slots.
Specification | Status | Comments |
---|---|---|
HTML Living Standard The definition of '<slot>' in that specification. | Living Standard | |
DOM The definition of 'Slots' in that specification. | Living Standard |
BCD tables only load in the browser