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

Function getRealChild

static/vuejs/vue.js:6904–6911  ·  view source on GitHub ↗
(vnode)

Source from the content-addressed store, hash-verified

6902// in case the child is also an abstract component, e.g. <keep-alive>
6903// we want to recursively retrieve the real component to be rendered
6904function getRealChild (vnode) {
6905 var compOptions = vnode && vnode.componentOptions;
6906 if (compOptions && compOptions.Ctor.options.abstract) {
6907 return getRealChild(getFirstComponentChild(compOptions.children))
6908 } else {
6909 return vnode
6910 }
6911}
6912
6913function extractTransitionData (comp) {
6914 var data = {};

Callers 1

vue.jsFile · 0.70

Calls 1

getFirstComponentChildFunction · 0.70

Tested by

no test coverage detected