Skip to main content

setLoading

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/app/initialization/rendererUtils / setLoading

Function: setLoading()

setLoading(loading: boolean): void

Defined in: utils/app/initialization/rendererUtils.js:60

Shows or hides the loading overlay and updates the cursor style with state integration.

Parameters​

loading​

boolean

If true, displays the loading overlay and sets the cursor to 'wait'. If false, hides the overlay and resets the cursor.

Returns​

void