extend() — vue Function Reference
Architecture documentation for the extend() function in util.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 133969d0_a7bd_f1c5_46a3_9fb8fd249583["extend()"] a9e6842c_239d_32cc_a243_bf732803670a["createRenderer()"] a9e6842c_239d_32cc_a243_bf732803670a -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 5c31f360_ac69_0a14_e083_68773e1a8fb7["renderAttrs()"] 5c31f360_ac69_0a14_e083_68773e1a8fb7 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 0fddbd73_542f_66b0_9163_a3b836d87f09["renderDOMProps()"] 0fddbd73_542f_66b0_9163_a3b836d87f09 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 8552678e_3ca0_ab4c_7c93_5001289e67e4["installSSRHelpers()"] 8552678e_3ca0_ab4c_7c93_5001289e67e4 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 1a2361a0_d6b0_d732_65e6_d0865594641c["renderSSRStyle()"] 1a2361a0_d6b0_d732_65e6_d0865594641c -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 610231d8_fc01_ade3_bd8e_63ac4dc83b5e["constructor()"] 610231d8_fc01_ade3_bd8e_63ac4dc83b5e -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 da6f913d_df09_ab43_1296_7f19325c6a21["createCompilerCreator()"] da6f913d_df09_ab43_1296_7f19325c6a21 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 327c11d5_a4b9_58c5_30dd_58c353557eea["processFor()"] 327c11d5_a4b9_58c5_30dd_58c353557eea -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 c16a3cd4_68e6_1d49_ea28_e5acec70d6e2["createCompileToFunctionFn()"] c16a3cd4_68e6_1d49_ea28_e5acec70d6e2 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 42005369_8c26_cd57_9e0b_56fda4c7428a["mergeAssets()"] 42005369_8c26_cd57_9e0b_56fda4c7428a -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 3183ebde_ad80_aeaf_4bd8_296f008a86e3["strats()"] 3183ebde_ad80_aeaf_4bd8_296f008a86e3 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 badf6762_f5f3_e870_8c0c_c168b9ecca0d["normalizeInject()"] badf6762_f5f3_e870_8c0c_c168b9ecca0d -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 a0548f3d_ad52_9c9a_fe0e_c4bc5ed97f32["default.render()"] a0548f3d_ad52_9c9a_fe0e_c4bc5ed97f32 -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 260c9082_4eba_7d9d_1e58_10f6149dde5e["updateAttrs()"] 260c9082_4eba_7d9d_1e58_10f6149dde5e -->|calls| 133969d0_a7bd_f1c5_46a3_9fb8fd249583 style 133969d0_a7bd_f1c5_46a3_9fb8fd249583 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/shared/util.ts lines 246–254
export function extend(
to: Record<PropertyKey, any>,
_from?: Record<PropertyKey, any>
): Record<PropertyKey, any> {
for (const key in _from) {
to[key] = _from[key]
}
return to
}
Domain
Subdomains
Called By
- constructor()
- createCompileToFunctionFn()
- createCompilerCreator()
- createRenderer()
- default.render()
- getStyle()
- installSSRHelpers()
- mergeAssets()
- normalizeInject()
- normalizeStyleData()
- processFor()
- renderAttrs()
- renderDOMProps()
- renderSSRStyle()
- resolveTransition()
- strats()
- toObject()
- updateAttrs()
- updateDOMProps()
- updateStyle()
Source
Frequently Asked Questions
What does extend() do?
extend() is a function in the vue codebase.
What calls extend()?
extend() is called by 20 function(s): constructor, createCompileToFunctionFn, createCompilerCreator, createRenderer, default.render, getStyle, installSSRHelpers, mergeAssets, and 12 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free