slot name
Slot table
Slot table
Slot table slot name Named slots are slot> elements with a name attribute to allow for namespaced content injection: slot name=slotName>slot> Copy Consider slot deposit bank Say hi to the first Vue tidbit It's about time I start covering Vue in my code tidbits, right Use the new named slot shorthand with
slot deposit bank This element includes the global attributes name The slot's name A named slot is a slot> element with a name attribute Examples html
slot rush payment proof In order to use multiple slots, we must provide a name for each of them The only exception is the default slot So, in the above example, we slot, ensure that the child's slot attribute matches the slot's name attribute: Named slots only accept children with a matching slot attribute For example