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

Function activateChildComponent

static/vuejs/vue.runtime.js:2236–2252  ·  view source on GitHub ↗
(vm, direct)

Source from the content-addressed store, hash-verified

2234}
2235
2236function activateChildComponent (vm, direct) {
2237 if (direct) {
2238 vm._directInactive = false;
2239 if (isInInactiveTree(vm)) {
2240 return
2241 }
2242 } else if (vm._directInactive) {
2243 return
2244 }
2245 if (vm._inactive || vm._inactive == null) {
2246 vm._inactive = false;
2247 for (var i = 0; i < vm.$children.length; i++) {
2248 activateChildComponent(vm.$children[i]);
2249 }
2250 callHook(vm, 'activated');
2251 }
2252}
2253
2254function deactivateChildComponent (vm, direct) {
2255 if (direct) {

Callers 1

vue.runtime.jsFile · 0.70

Calls 2

isInInactiveTreeFunction · 0.70
callHookFunction · 0.70

Tested by

no test coverage detected