UI Service - VeilService
VeilService is an Angular Factory in the Layer module with the name
veil.js. It allows you to show and hide the "Veil" – a GUI overlay that lets the user know the websocket connection was dropped. To use these functions, see the documentation on injecting Angular services.
What is the Veil?
Below is a screenshot of the Veil when the websocket connection goes down on the Topology View.
Initialize the VeilService. This is already called, so you probably won't have to initialize it yourself.
Show the Veil.
msg - an array of strings, each array member is a paragraph
|none, but shows the Veil and disables key bindings
Hide the Veil.
|none, but hides the Veil and enables key bindings