getAndRemoveAttrByRegex() — vue Function Reference
Architecture documentation for the getAndRemoveAttrByRegex() function in helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 1e32c855_8301_1401_26b6_bb71382c4130["getAndRemoveAttrByRegex()"] 59b7cd33_3172_bd71_66da_0b9508449054["helpers.ts"] 1e32c855_8301_1401_26b6_bb71382c4130 -->|defined in| 59b7cd33_3172_bd71_66da_0b9508449054 b1c7f848_3443_6284_06d1_dfc620ebd2c4["processSlotContent()"] b1c7f848_3443_6284_06d1_dfc620ebd2c4 -->|calls| 1e32c855_8301_1401_26b6_bb71382c4130 style 1e32c855_8301_1401_26b6_bb71382c4130 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/compiler/helpers.ts lines 222–231
export function getAndRemoveAttrByRegex(el: ASTElement, name: RegExp) {
const list = el.attrsList
for (let i = 0, l = list.length; i < l; i++) {
const attr = list[i]
if (name.test(attr.name)) {
list.splice(i, 1)
return attr
}
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getAndRemoveAttrByRegex() do?
getAndRemoveAttrByRegex() is a function in the vue codebase, defined in src/compiler/helpers.ts.
Where is getAndRemoveAttrByRegex() defined?
getAndRemoveAttrByRegex() is defined in src/compiler/helpers.ts at line 222.
What calls getAndRemoveAttrByRegex()?
getAndRemoveAttrByRegex() is called by 1 function(s): processSlotContent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free