getOuterHTML() — vue Function Reference
Architecture documentation for the getOuterHTML() function in runtime-with-compiler.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 55285318_b0c8_c03f_aefc_353fa3e9039e["getOuterHTML()"] 65cd287e_4e6a_7361_27b7_9f8be7ceff8e["runtime-with-compiler.ts"] 55285318_b0c8_c03f_aefc_353fa3e9039e -->|defined in| 65cd287e_4e6a_7361_27b7_9f8be7ceff8e 1bf763d5_19c5_316f_654e_30d4ca62701e["$mount()"] 1bf763d5_19c5_316f_654e_30d4ca62701e -->|calls| 55285318_b0c8_c03f_aefc_353fa3e9039e style 55285318_b0c8_c03f_aefc_353fa3e9039e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/runtime-with-compiler.ts lines 98–106
function getOuterHTML(el: Element): string {
if (el.outerHTML) {
return el.outerHTML
} else {
const container = document.createElement('div')
container.appendChild(el.cloneNode(true))
return container.innerHTML
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getOuterHTML() do?
getOuterHTML() is a function in the vue codebase, defined in src/platforms/web/runtime-with-compiler.ts.
Where is getOuterHTML() defined?
getOuterHTML() is defined in src/platforms/web/runtime-with-compiler.ts at line 98.
What calls getOuterHTML()?
getOuterHTML() is called by 1 function(s): $mount.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free