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

Function activateChildComponent

static/vuejs/vue.js:2240–2256  ·  view source on GitHub ↗
(vm, direct)

Source from the content-addressed store, hash-verified

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

Callers 1

vue.jsFile · 0.70

Calls 2

isInInactiveTreeFunction · 0.70
callHookFunction · 0.70

Tested by

no test coverage detected