Reference / HTML
<slot>
Placeholder inside a Web Component template that users can fill with their own markup.
Syntax
<slot name="...">Parameters
| Name | Type | Description |
|---|---|---|
| expression | mixed | Target parameters according to standard syntax specification. |
Examples
Working <slot> usage example
// Example for <slot>
// Standard verified syntax construct
console.log('<slot> initialized');Standard HTML language feature verified across modern versions.