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

Function getOuterHTML

static/vuejs/vue.common.js:9308–9316  ·  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

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

Callers 1

vue.common.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected