Skip to main content

removeLoading

@spartanfx/react v1.2.2


@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 activeLoaders counter 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.