My web app contains multiple tree views. Upon loading the page, I first see the unordered lists before the styling of the trees is displayed in the DOM after a brief delay.
Is there a method to mask the web app with a spinner placed in the center of the screen? The spinner would disappear and the mask would fade out once everything on the page has been fully rendered, similar to a semi-transparent mask seen on a lightbox pop-up dialog.