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
  0e74f074_1d54_cf67_e665_28b5ab4b2c42["html()"]
  4760a472_5347_3554_a7fe_3e7d21471a37["addProp()"]
  0e74f074_1d54_cf67_e665_28b5ab4b2c42 -->|calls| 4760a472_5347_3554_a7fe_3e7d21471a37
  style 0e74f074_1d54_cf67_e665_28b5ab4b2c42 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