MCPcopy
hub / github.com/kimlimjustin/xplorer / isLoading

Function isLoading

src/Components/Functions/Loading/loading.ts:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * @returns {any}
12 */
13const isLoading = (): boolean => {
14 const LOADING_BAR = document.querySelector<HTMLElement>('.loading-bar');
15 return LOADING_BAR.dataset.loading === 'true';
16};
17
18/**
19 * Stop the loading animation

Callers 1

OpenDirFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected