Lwc Slots Composition

Use when a Lightning Web Component needs to let a parent inject markup into predefined regions using `<slot>` — default and named slots, `slotchange` wiring, fallback content, and detecting slot emptiness. NOT for rendering a dynamic component whose tag name is chosen at runtime (that is `lwc:is`) — use lwc/lwc-dynamic-components. NOT for third-party custom-element interop — use lwc/lwc-web-components-interop.

PranavNagrecha 85858d8 7 files · 40.0 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/lwc/lwc-slots-composition commit 85858d82ff

Frequently asked questions

npx skillmds add pranavnagrecha/lwc-slots-composition