LoadingService
LoadingService is an Angular Factory in the Layer module, implemented in the file loading.js
. It provides an API to start and stop a "Loading..." animation in the center of the window.
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 |