MCPcopy Index your code
hub / github.com/spicetify/cli / toggleFullscreen

Function toggleFullscreen

Extensions/fullAppDisplay.js:776–784  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

774 let fad;
775
776 async function toggleFullscreen() {
777 if (CONFIG.enableFullscreen) {
778 await document.documentElement.requestFullscreen();
779 toggleCursor(false);
780 } else if (document.webkitIsFullScreen) {
781 await document.exitFullscreen();
782 toggleCursor(true);
783 }
784 }
785
786 function eventListener() {
787 showCursor();

Callers 1

activateFunction · 0.85

Calls 1

toggleCursorFunction · 0.85

Tested by

no test coverage detected