addRawAttr() — vue Function Reference
Architecture documentation for the addRawAttr() function in helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 27c9f118_27c7_cb7d_2eae_8961c5ab62b5["addRawAttr()"] 59b7cd33_3172_bd71_66da_0b9508449054["helpers.ts"] 27c9f118_27c7_cb7d_2eae_8961c5ab62b5 -->|defined in| 59b7cd33_3172_bd71_66da_0b9508449054 b8300ea8_d2a4_8ee3_27f2_4fb5b2125adb["rangeSetItem()"] 27c9f118_27c7_cb7d_2eae_8961c5ab62b5 -->|calls| b8300ea8_d2a4_8ee3_27f2_4fb5b2125adb style 27c9f118_27c7_cb7d_2eae_8961c5ab62b5 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
Defined In
Calls
Source
Frequently Asked Questions
What does addRawAttr() do?
addRawAttr() is a function in the vue codebase, defined in src/compiler/helpers.ts.
Where is addRawAttr() defined?
addRawAttr() is defined in src/compiler/helpers.ts at line 48.
What does addRawAttr() call?
addRawAttr() calls 1 function(s): rangeSetItem.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free