Skip to main content

Fullscreen

Overview

The SDK allows to control fullscreen mode. SDK methods allow you to expand the game to full screen, exit full screen mode. You can also switch the operating mode to the opposite with one command.

List of methods FREE:

// Enter fullscreen mode
ss.fullscreen.open();
// Exit fullscreen mode
ss.fullscreen.close();
// Toggle fullscreen mode
ss.fullscreen.toggle();

Checking for fullscreen mode FREE:

ss.fullscreen.isEnabled;

Events list:

ss.fullscreen.on('open', () => {});
ss.fullscreen.on('close', () => {});
ss.fullscreen.on('change', () => {});

Stay in Touch

Other documents of this chapter available Here. To get started, welcome to the Tutorials chapter.

SpellSync Community Telegram: @spellsync.

For your suggestions e-mail: [email protected]

We Wish you Success!