This function assumes the existence of a pre-defined element loaderContainer
in your DOM.
The loading animation is implemented by creating a new div
element with the class loader
and adding it as a child to loaderContainer
.
The loader
class should contain the styles and animations necessary for the loading animation.
Generated using TypeDoc
This function creates and displays a loading animation.