diff --git a/js/ui-events.js b/js/ui-events.js new file mode 100644 index 000000000..9791cc124 --- /dev/null +++ b/js/ui-events.js @@ -0,0 +1,13 @@ +var footercb = document.getElementById("compile"); + +var event = new Event('spinner'); + +// Listen for the event. +footercb.addEventListener('spinner', function(compile) { + setInterval(function () { + .loader { + border-top: 16px solid blue; + border-bottom: 16px solid blue; + } + }); +});