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.
Function Descriptions
start
Starts the "Loading..." animation. This function is idempotent.
Example Usage | Arguments | Return Value |
---|---|---|
loading.start(); | none | none |
stop
Stops the "Loading..." animation. This function is idempotent.
Example Usage | Arguments | Return Value |
---|---|---|
loading.stop(); | none | none |