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

Function getOuterHTML

static/vuejs/vue.esm.js:9306–9314  ·  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

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

Callers 1

vue.esm.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected