Gesamte Mono-Repo des Baukastens (alle apps/clients, examples/tests und packages)
dh_heyart
vor 7 Std. 7b1747b3214ec3de482f775cede2649c26e836a9
1
2
3
4
5
6
7
8
import {RequestService, WebViewerService} from "@dh-software/webui-api";
 
document.addEventListener("readystatechange", async () => {
    await RequestService.Initialized;
    await WebViewerService.IsAppReady;
    const catalogContent = document.querySelector(".catalog-content");
    document.body.classList.toggle("catalog-hidden", catalogContent.childElementCount === 0);
})