html.ts — vue Source File
Architecture documentation for html.ts, a typescript file in the vue codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 5d956a21_dfa6_d70a_9e6c_cac048bf5387["html.ts"] a0ba3d1b_5fa2_9aa0_10cf_68e933ca762a["helpers"] 5d956a21_dfa6_d70a_9e6c_cac048bf5387 --> a0ba3d1b_5fa2_9aa0_10cf_68e933ca762a 47ae9f26_59d1_fab2_349f_966f5d15495a["compiler"] 5d956a21_dfa6_d70a_9e6c_cac048bf5387 --> 47ae9f26_59d1_fab2_349f_966f5d15495a bd1ea209_f0b6_a660_b088_32a9933f8c05["index.ts"] bd1ea209_f0b6_a660_b088_32a9933f8c05 --> 5d956a21_dfa6_d70a_9e6c_cac048bf5387 style 5d956a21_dfa6_d70a_9e6c_cac048bf5387 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { addProp } from 'compiler/helpers'
import { ASTDirective, ASTElement } from 'types/compiler'
export default function html(el: ASTElement, dir: ASTDirective) {
if (dir.value) {
addProp(el, 'innerHTML', `_s(${dir.value})`, dir)
}
}
Domain
Subdomains
Functions
Dependencies
- compiler
- helpers
Imported By
Source
Frequently Asked Questions
What does html.ts do?
html.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 html.ts?
html.ts defines 1 function(s): html.
What does html.ts depend on?
html.ts imports 2 module(s): compiler, helpers.
What files import html.ts?
html.ts is imported by 1 file(s): index.ts.
Where is html.ts in the architecture?
html.ts is located at src/platforms/web/compiler/directives/html.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