locateNode() — vue Function Reference
Architecture documentation for the locateNode() function in show.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 7fd561ec_fce6_2047_cd39_72d56b004177["locateNode()"] e3f0dcd1_5331_9983_ee74_98651c6009f3["default.bind()"] e3f0dcd1_5331_9983_ee74_98651c6009f3 -->|calls| 7fd561ec_fce6_2047_cd39_72d56b004177 394714aa_8288_0f42_8564_08fb679a1d9f["default.update()"] 394714aa_8288_0f42_8564_08fb679a1d9f -->|calls| 7fd561ec_fce6_2047_cd39_72d56b004177 style 7fd561ec_fce6_2047_cd39_72d56b004177 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/runtime/directives/show.ts lines 6–11
function locateNode(vnode: VNode | VNodeWithData): VNodeWithData {
// @ts-expect-error
return vnode.componentInstance && (!vnode.data || !vnode.data.transition)
? locateNode(vnode.componentInstance._vnode!)
: vnode
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does locateNode() do?
locateNode() is a function in the vue codebase.
What calls locateNode()?
locateNode() is called by 2 function(s): default.bind, default.update.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free