placeholder() — vue Function Reference
Architecture documentation for the placeholder() function in transition.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD b208fdde_1e9d_95bf_5b2e_5dd4fdbb992f["placeholder()"] 4092d37a_e401_1398_7538_ace18f6c50d5["transition.ts"] b208fdde_1e9d_95bf_5b2e_5dd4fdbb992f -->|defined in| 4092d37a_e401_1398_7538_ace18f6c50d5 72e47df1_f475_b052_b735_29fdce7cc0ac["default.render()"] 72e47df1_f475_b052_b735_29fdce7cc0ac -->|calls| b208fdde_1e9d_95bf_5b2e_5dd4fdbb992f style b208fdde_1e9d_95bf_5b2e_5dd4fdbb992f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/runtime/components/transition.ts lines 59–66
function placeholder(h: Function, rawChild: VNode): VNode | undefined {
// @ts-expect-error
if (/\d-keep-alive$/.test(rawChild.tag)) {
return h('keep-alive', {
props: rawChild.componentOptions!.propsData
})
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does placeholder() do?
placeholder() is a function in the vue codebase, defined in src/platforms/web/runtime/components/transition.ts.
Where is placeholder() defined?
placeholder() is defined in src/platforms/web/runtime/components/transition.ts at line 59.
What calls placeholder()?
placeholder() is called by 1 function(s): default.render.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free