locateNode() — vue Function Reference
Architecture documentation for the locateNode() function in show.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD f1eef86c_889c_6c92_83bf_c14b7c77af7e["locateNode()"] 6b6b31ee_7b0e_9602_d29d_c326d873a3e2["show.ts"] f1eef86c_889c_6c92_83bf_c14b7c77af7e -->|defined in| 6b6b31ee_7b0e_9602_d29d_c326d873a3e2 38a4e3fe_999c_add1_1ad6_13a24e0274e5["default.bind()"] 38a4e3fe_999c_add1_1ad6_13a24e0274e5 -->|calls| f1eef86c_889c_6c92_83bf_c14b7c77af7e b0545e21_bfb5_d773_0ad7_667b7ba418c0["default.update()"] b0545e21_bfb5_d773_0ad7_667b7ba418c0 -->|calls| f1eef86c_889c_6c92_83bf_c14b7c77af7e style f1eef86c_889c_6c92_83bf_c14b7c77af7e 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
Defined In
Called By
Source
Frequently Asked Questions
What does locateNode() do?
locateNode() is a function in the vue codebase, defined in src/platforms/web/runtime/directives/show.ts.
Where is locateNode() defined?
locateNode() is defined in src/platforms/web/runtime/directives/show.ts at line 6.
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