addRawAttr() — vue Function Reference
Architecture documentation for the addRawAttr() function in helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD d7971411_6ab9_282d_5d39_b2b512670520["addRawAttr()"] 5266d1ae_e943_1c9a_9925_9c539b8a7a9b["preTransformNode()"] 5266d1ae_e943_1c9a_9925_9c539b8a7a9b -->|calls| d7971411_6ab9_282d_5d39_b2b512670520 c336f147_1947_5913_00aa_91254a8ee33b["rangeSetItem()"] d7971411_6ab9_282d_5d39_b2b512670520 -->|calls| c336f147_1947_5913_00aa_91254a8ee33b style d7971411_6ab9_282d_5d39_b2b512670520 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/helpers.ts lines 48–56
export function addRawAttr(
el: ASTElement,
name: string,
value: any,
range?: Range
) {
el.attrsMap[name] = value
el.attrsList.push(rangeSetItem({ name, value }, range))
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does addRawAttr() do?
addRawAttr() is a function in the vue codebase.
What does addRawAttr() call?
addRawAttr() calls 1 function(s): rangeSetItem.
What calls addRawAttr()?
addRawAttr() is called by 1 function(s): preTransformNode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free