How to use the @deckdeckgo/utils.DeckDeckGoUtils.isFullscreen function in @deckdeckgo/utils

To help you get started, we’ve selected a few @deckdeckgo/utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github deckgo / deckdeckgo / studio / src / app / components / editor / app-editor-toolbar / app-editor-toolbar.tsx View on Github external
async inactivity($event: CustomEvent) {
        if (!DeckDeckGoUtils.isFullscreen()) {
            return;
        }

        this.displayed = $event.detail;

        await this.blurSelectedElement();
    }