Skip to main content
Version: 1.0.5

removeLoading

@spartanfx/react v1.0.5


@spartanfx/react / removeLoading

Function: removeLoading()

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.