markAllSlotsAsSlotString() — astro Function Reference
Architecture documentation for the markAllSlotsAsSlotString() function in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 07500509_f19a_b38a_ea7c_e274020ebee9["markAllSlotsAsSlotString()"] 3e7d5a30_05d3_8677_9bbe_dc57d1b07ace["index.ts"] 07500509_f19a_b38a_ea7c_e274020ebee9 -->|defined in| 3e7d5a30_05d3_8677_9bbe_dc57d1b07ace 765ee439_68bf_1e77_8861_ae817e9e4008["renderToString()"] 765ee439_68bf_1e77_8861_ae817e9e4008 -->|calls| 07500509_f19a_b38a_ea7c_e274020ebee9 style 07500509_f19a_b38a_ea7c_e274020ebee9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/container/index.ts lines 634–640
function markAllSlotsAsSlotString(slots: Record<string, any>): Record<string, any> {
const markedSlots: Record<string, any> = {};
for (const slotName in slots) {
markedSlots[slotName] = new SlotString(slots[slotName], null);
}
return markedSlots;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does markAllSlotsAsSlotString() do?
markAllSlotsAsSlotString() is a function in the astro codebase, defined in packages/astro/src/container/index.ts.
Where is markAllSlotsAsSlotString() defined?
markAllSlotsAsSlotString() is defined in packages/astro/src/container/index.ts at line 634.
What calls markAllSlotsAsSlotString()?
markAllSlotsAsSlotString() is called by 1 function(s): renderToString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free