makeAttrsMap() — vue Function Reference
Architecture documentation for the makeAttrsMap() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD d59d7d8d_3b10_c59e_51f8_a084d46b51f4["makeAttrsMap()"] 61cd312b_0f3f_8048_b42c_85f0f4766ca8["createASTElement()"] 61cd312b_0f3f_8048_b42c_85f0f4766ca8 -->|calls| d59d7d8d_3b10_c59e_51f8_a084d46b51f4 style d59d7d8d_3b10_c59e_51f8_a084d46b51f4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/parser/index.ts lines 944–953
function makeAttrsMap(attrs: Array<Record<string, any>>): Record<string, any> {
const map = {}
for (let i = 0, l = attrs.length; i < l; i++) {
if (__DEV__ && map[attrs[i].name] && !isIE && !isEdge) {
warn('duplicate attribute: ' + attrs[i].name, attrs[i])
}
map[attrs[i].name] = attrs[i].value
}
return map
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does makeAttrsMap() do?
makeAttrsMap() is a function in the vue codebase.
What calls makeAttrsMap()?
makeAttrsMap() is called by 1 function(s): createASTElement.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free