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

Function activateChildComponent

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

isInInactiveTreeFunction · 0.70
callHookFunction · 0.70

Tested by

no test coverage detected