removeLoading
@spartanfx/react / index / removeLoading
Function: removeLoading()
function removeLoading(): void;
Imperative API to potentially hide the global loading overlay.
Returns
void
void
Remarks
- Decrements the internal
activeLoaderscounter when greater than zero. - When the counter reaches zero, removes the Notiflix overlay and resets the message.
- Safe to call even if no loaders are active; in that case it does nothing.