addProp() — vue Function Reference
Architecture documentation for the addProp() function in helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 4760a472_5347_3554_a7fe_3e7d21471a37["addProp()"] a8b5582c_75a3_d739_c9b5_27e2ceb67bc3["processAttrs()"] a8b5582c_75a3_d739_c9b5_27e2ceb67bc3 -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37 0e74f074_1d54_cf67_e665_28b5ab4b2c42["html()"] 0e74f074_1d54_cf67_e665_28b5ab4b2c42 -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37 2a02b0ab_9034_a2f9_d310_cda75957f53b["genCheckboxModel()"] 2a02b0ab_9034_a2f9_d310_cda75957f53b -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37 1a10f80b_54fb_898b_54fd_6eee5e4ca82a["genRadioModel()"] 1a10f80b_54fb_898b_54fd_6eee5e4ca82a -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37 39292c26_0eea_5e4d_9de0_7137f2d3a979["genDefaultModel()"] 39292c26_0eea_5e4d_9de0_7137f2d3a979 -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37 0ec79856_602a_b124_43ce_37a8ae4a2a91["text()"] 0ec79856_602a_b124_43ce_37a8ae4a2a91 -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37 c336f147_1947_5913_00aa_91254a8ee33b["rangeSetItem()"] 4760a472_5347_3554_a7fe_3e7d21471a37 -->|calls| c336f147_1947_5913_00aa_91254a8ee33b style 4760a472_5347_3554_a7fe_3e7d21471a37 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/helpers.ts lines 20–31
export function addProp(
el: ASTElement,
name: string,
value: string,
range?: Range,
dynamic?: boolean
) {
;(el.props || (el.props = [])).push(
rangeSetItem({ name, value, dynamic }, range)
)
el.plain = false
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does addProp() do?
addProp() is a function in the vue codebase.
What does addProp() call?
addProp() calls 1 function(s): rangeSetItem.
What calls addProp()?
addProp() is called by 6 function(s): genCheckboxModel, genDefaultModel, genRadioModel, html, processAttrs, text.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free