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 62b20651_ee47_8f1c_d893_54869e18fabd["text.ts"] a0ba3d1b_5fa2_9aa0_10cf_68e933ca762a["helpers"] 62b20651_ee47_8f1c_d893_54869e18fabd --> a0ba3d1b_5fa2_9aa0_10cf_68e933ca762a 47ae9f26_59d1_fab2_349f_966f5d15495a["compiler"] 62b20651_ee47_8f1c_d893_54869e18fabd --> 47ae9f26_59d1_fab2_349f_966f5d15495a bd1ea209_f0b6_a660_b088_32a9933f8c05["index.ts"] bd1ea209_f0b6_a660_b088_32a9933f8c05 --> 62b20651_ee47_8f1c_d893_54869e18fabd style 62b20651_ee47_8f1c_d893_54869e18fabd 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