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 c430bf28_e89f_91db_516e_449f222609e9["html.ts"] a53a30c8_9418_4cc4_6709_164fca9149e1["helpers"] c430bf28_e89f_91db_516e_449f222609e9 --> a53a30c8_9418_4cc4_6709_164fca9149e1 a80b8e3b_d720_9146_3bf6_594d4ee5dd77["compiler"] c430bf28_e89f_91db_516e_449f222609e9 --> a80b8e3b_d720_9146_3bf6_594d4ee5dd77 f775a5be_e998_af45_9bda_1ef8cd715838["index.ts"] f775a5be_e998_af45_9bda_1ef8cd715838 --> c430bf28_e89f_91db_516e_449f222609e9 style c430bf28_e89f_91db_516e_449f222609e9 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