Named slot
noun
say it: “NAYMD SLOT” /ˌneɪmd ˈslɑt/
A slot with a name attribute, so content marked with the same name, such as slot="rating", goes to that spot in the component instead of the default one.
What is Named slot?
Named slot — A slot identified by name so matching host children can be assigned to it.
In a sentence
- “I misspelled the named slot as "ratting", so the stars landed in the wrong spot.”
- “The star rating went to the named slot called rating, and the review text went to the default slot.”
Level: Freelancer · More JavaScript terms at this level
Updated