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

Function activateChildComponent

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

Source from the content-addressed store, hash-verified

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

Callers 1

vue.runtime.esm.jsFile · 0.70

Calls 2

isInInactiveTreeFunction · 0.70
callHookFunction · 0.70

Tested by

no test coverage detected