Home / Function/ html() — vue Function Reference

html() — vue Function Reference

Architecture documentation for the html() function in html.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  9af020b8_e238_594b_2dea_cacf110d6e36["html()"]
  4daec7f5_cb46_f8e0_ce45_d7c464826c5d["addProp()"]
  9af020b8_e238_594b_2dea_cacf110d6e36 -->|calls| 4daec7f5_cb46_f8e0_ce45_d7c464826c5d
  style 9af020b8_e238_594b_2dea_cacf110d6e36 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/compiler/directives/html.ts lines 4–8

export default function html(el: ASTElement, dir: ASTDirective) {
  if (dir.value) {
    addProp(el, 'innerHTML', `_s(${dir.value})`, dir)
  }
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does html() do?
html() is a function in the vue codebase.
What does html() call?
html() 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