initProps() — vue Function Reference
Architecture documentation for the initProps() function in extend.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD ecc8a243_a0d7_dbfe_d0d7_8a89943041cf["initProps()"] 14862e78_4e1b_a138_5d8b_d69973ce321b["initExtend()"] 14862e78_4e1b_a138_5d8b_d69973ce321b -->|calls| ecc8a243_a0d7_dbfe_d0d7_8a89943041cf e399206d_b17d_5ac0_8caa_dab87591e37e["initProps()"] ecc8a243_a0d7_dbfe_d0d7_8a89943041cf -->|calls| e399206d_b17d_5ac0_8caa_dab87591e37e 116cddf0_8d78_82e1_fbc7_5754697f785e["proxy()"] ecc8a243_a0d7_dbfe_d0d7_8a89943041cf -->|calls| 116cddf0_8d78_82e1_fbc7_5754697f785e style ecc8a243_a0d7_dbfe_d0d7_8a89943041cf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/global-api/extend.ts lines 82–87
function initProps(Comp: typeof Component) {
const props = Comp.options.props
for (const key in props) {
proxy(Comp.prototype, `_props`, key)
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does initProps() do?
initProps() is a function in the vue codebase.
What does initProps() call?
initProps() calls 2 function(s): initProps, proxy.
What calls initProps()?
initProps() is called by 1 function(s): initExtend.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free