gpu-loading-overlay demo


Fixed time example


Configurable time example


Overlapping / Race example #1

Invokes "activate()" function 2 times successively, tracking each "spinHandle" respectively.

The 1st invokation's spinHandle is cancelled after 3 seconds, the 2nd invokation's spinHandle is cancelled after 5 seconds.

Thus, the overlay should stay on for 5 seconds total.


Overlapping / Race example #2

Invokes "activate()" function 2 times successively, tracking each "spinHandle" respectively.

The 1st invokation's spinHandle is cancelled after 5 seconds, the 2nd invokation's spinHandle is cancelled after 3 seconds.

Thus, the overlay should stay on for 5 seconds total.


© 2014-2017 Doug Bird - All Rights Reserved.

This demo and the gpu-loading-overlay module are distributed under the terms of the MIT license.

Clock icon © onlinewebfonts.com and distributed under terms of the Creative Commons 3.0 License.