Slots Definición
Posted : admin On 4/12/2022Slot noun C (AMOUNT OF TIME) C1 an amount of time that is officially allowed for a single event in a planned order of activities or events: The programme will occupy that half-hour slot before the six o'clock news. Slot Definicion, poker night 2 trainer download, snowman poker gear, lppl online poker. Every Sunday Wager: 25x Code: NONSTOP.
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 |
Attributes
This element includes the global attributes.
name
- The slot's name.
- A named slot is a
<slot>
element with aname
attribute.
Examples
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.
Specifications
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 |
Browser compatibility
Slots Definició No Deposit
BCD tables only load in the browser