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

Function activateChildComponent

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

Source from the content-addressed store, hash-verified

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

Callers 1

vue.esm.jsFile · 0.70

Calls 2

isInInactiveTreeFunction · 0.70
callHookFunction · 0.70

Tested by

no test coverage detected