MCPcopy
hub / github.com/docsifyjs/docsify / isMountedVue

Function isMountedVue

src/core/render/index.js:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 Number(window.Vue.version.charAt(0));
50
51 const isMountedVue = elm => {
52 const isVue2 = Boolean(elm.__vue__ && elm.__vue__._isVue);
53 const isVue3 = Boolean(elm._vnode && elm._vnode.__v_skip);
54
55 return isVue2 || isVue3;
56 };
57
58 if (!html) {
59 html = '<h1>404 - Not found</h1>';

Callers 1

renderMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…