Application Framework Reference

Module API

markPageLoadComplete()

The markPageLoadComplete() method sets the page load completion status.

Synopsis

results = markPageLoadComplete( self , **args )

Return Value

Undefined

Example

pushContextToChildren: function(explicitContext) {
    var readiness = this.isReadyForContextPush()
    if (readiness == Splunk.Module.CANCEL) {
 if (!this.isPageLoadComplete()) {
            var propagateLoadCompleteFlag = function(module) {
                module.markPageLoadComplete(); 
                module.withEachChild(function(child) {
                    propagateLoadCompleteFlag(child);
                });  
            };  
            propagateLoadCompleteFlag(this);
        }  
        return;
    }
},
 

See Also

isPageLoadComplete()
onLoadStatusChange()