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

Function startLoading

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

Source from the content-addressed store, hash-verified

3 * @returns {void}
4 */
5const startLoading = (): void => {
6 const LOADING_BAR = document.querySelector<HTMLElement>('.loading-bar');
7 LOADING_BAR.dataset.loading = 'true';
8};
9/**
10 * Check if the loading animation is running
11 * @returns {any}

Callers 4

HomeFunction · 0.90
RecentFunction · 0.90
OpenDirFunction · 0.90
processSearchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected