text.ts — vue Source File
Architecture documentation for text.ts, a typescript file in the vue codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 3f62c2f3_7ccd_5200_ae4b_507237bb9aab["text.ts"] a53a30c8_9418_4cc4_6709_164fca9149e1["helpers"] 3f62c2f3_7ccd_5200_ae4b_507237bb9aab --> a53a30c8_9418_4cc4_6709_164fca9149e1 a80b8e3b_d720_9146_3bf6_594d4ee5dd77["compiler"] 3f62c2f3_7ccd_5200_ae4b_507237bb9aab --> a80b8e3b_d720_9146_3bf6_594d4ee5dd77 f775a5be_e998_af45_9bda_1ef8cd715838["index.ts"] f775a5be_e998_af45_9bda_1ef8cd715838 --> 3f62c2f3_7ccd_5200_ae4b_507237bb9aab style 3f62c2f3_7ccd_5200_ae4b_507237bb9aab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { addProp } from 'compiler/helpers'
import { ASTDirective, ASTElement } from 'types/compiler'
export default function text(el: ASTElement, dir: ASTDirective) {
if (dir.value) {
addProp(el, 'textContent', `_s(${dir.value})`, dir)
}
}
Domain
Subdomains
Functions
Dependencies
- compiler
- helpers
Imported By
Source
Frequently Asked Questions
What does text.ts do?
text.ts is a source file in the vue codebase, written in typescript. It belongs to the WebPlatform domain, WebCompiler subdomain.
What functions are defined in text.ts?
text.ts defines 1 function(s): text.
What does text.ts depend on?
text.ts imports 2 module(s): compiler, helpers.
What files import text.ts?
text.ts is imported by 1 file(s): index.ts.
Where is text.ts in the architecture?
text.ts is located at src/platforms/web/compiler/directives/text.ts (domain: WebPlatform, subdomain: WebCompiler, directory: src/platforms/web/compiler/directives).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free