text() — vue Function Reference
Architecture documentation for the text() function in text.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 24bf581c_c2fc_1f2c_0692_3d707e4f05a2["text()"] 4daec7f5_cb46_f8e0_ce45_d7c464826c5d["addProp()"] 24bf581c_c2fc_1f2c_0692_3d707e4f05a2 -->|calls| 4daec7f5_cb46_f8e0_ce45_d7c464826c5d style 24bf581c_c2fc_1f2c_0692_3d707e4f05a2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/compiler/directives/text.ts lines 4–8
export default function text(el: ASTElement, dir: ASTDirective) {
if (dir.value) {
addProp(el, 'textContent', `_s(${dir.value})`, dir)
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does text() do?
text() is a function in the vue codebase.
What does text() call?
text() calls 1 function(s): addProp.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free