The setLoadState() method changes the current module load state and, optionally, invokes the onLoadStatusChange() event handler.
setLoadState( statusInt , suppressEvent )
|
statusInt |
Integer |
Dictionary of URI name-value pair GET request params. |
|
suppressEvent |
Boolean |
Invoke event handler indication: True = Invoke event handler. False = (Default) Do not invoke event handler. |
Undefined
pushContextToChildren: function(explicitContext) {
this.withEachDescendant(function(module) {
module.setLoadState(Splunk.util.moduleLoadStates.WAITING_FOR_CONTEXT);
});
this.withEachChild(function(child) {
child.baseContext = childContext;
child.setLoadState(Splunk.util.moduleLoadStates.HAS_CONTEXT);
child.onContextChange();
child.pushContextToChildren();
if (!child.isPageLoadComplete()) {
child.markPageLoadComplete();
}
});
this.setChildContextFreshness(true);
},