MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getOuterHTML

Function getOuterHTML

static/vuejs/vue.js:9302–9310  ·  view source on GitHub ↗

* Get outerHTML of elements, taking care * of SVG elements in IE as well.

(el)

Source from the content-addressed store, hash-verified

9300 * of SVG elements in IE as well.
9301 */
9302function getOuterHTML (el) {
9303 if (el.outerHTML) {
9304 return el.outerHTML
9305 } else {
9306 var container = document.createElement('div');
9307 container.appendChild(el.cloneNode(true));
9308 return container.innerHTML
9309 }
9310}
9311
9312Vue$3.compile = compileToFunctions;
9313

Callers 1

vue.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected