- Domino UI
- Components
- Pre-Loaders
Top Basic Colored Docs
Pre-Loaders
Represents a visual preloader or spinner used to indicate the loading state of a component or page.
Usage example:
Preloader preloader = Preloader.create();
See also :
Examples
Basic Pre-loaders Spinning circles with different sizes.
Colored Pre-loaders Pre-Loaders can have different colors.
Constructors
public void Preloader()
Default constructor creating a new instance of the preloader.
Static methods
public static Preloader create()
Factory method to create a new instance of the preloader.
Returns:
A new Preloader instance.
Public methods
public HTMLDivElement element()
Returns the root HTMLDivElement for this preloader.
Returns:
The root HTMLDivElement.
public Preloader stop()
Stops and removes the preloader from the DOM.
Returns:
The current preloader instance.