Home / Function/ _getComponentName() — vue Function Reference

_getComponentName() — vue Function Reference

Architecture documentation for the _getComponentName() function in keep-alive.ts from the vue codebase.

Function typescript VueCore Instance calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  682d1bec_9a22_eb6d_b27c_6e895e97e7db["_getComponentName()"]
  302828a5_7155_979e_f7d9_5b26a70fd7d0["keep-alive.ts"]
  682d1bec_9a22_eb6d_b27c_6e895e97e7db -->|defined in| 302828a5_7155_979e_f7d9_5b26a70fd7d0
  0f3602d7_5826_12c2_2045_c98c2b8840e4["default.render()"]
  0f3602d7_5826_12c2_2045_c98c2b8840e4 -->|calls| 682d1bec_9a22_eb6d_b27c_6e895e97e7db
  07237020_2f32_55be_02ad_e77197985632["getComponentName()"]
  682d1bec_9a22_eb6d_b27c_6e895e97e7db -->|calls| 07237020_2f32_55be_02ad_e77197985632
  style 682d1bec_9a22_eb6d_b27c_6e895e97e7db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/components/keep-alive.ts lines 16–18

function _getComponentName(opts?: VNodeComponentOptions): string | null {
  return opts && (getComponentName(opts.Ctor.options as any) || opts.tag)
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does _getComponentName() do?
_getComponentName() is a function in the vue codebase, defined in src/core/components/keep-alive.ts.
Where is _getComponentName() defined?
_getComponentName() is defined in src/core/components/keep-alive.ts at line 16.
What does _getComponentName() call?
_getComponentName() calls 1 function(s): getComponentName.
What calls _getComponentName()?
_getComponentName() 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