Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

LoadingService

LoadingService is an Angular Factory in the Layer module, implemented by loading.js. It provides an API to start and stop a "Loading..." animation in the center of the window. 

This code is soon to be refactored (ONOS-3747) to include delayed start functionality.

 

 

NameSummary
startStarts the animation
stopStops the animation

 

Function Descriptions

start

Starts the "Loading..." animation. This function is idempotent.

Example UsageArgumentsReturn Value
loading.start();nonenone

 

stop

Stops the "Loading..." animation. This function is idempotent.

Example UsageArgumentsReturn Value
loading.stop();nonenone

 

 

 

  • No labels