setFullscreen

external fun setFullscreen(fullscreen: Boolean): Promise<Void>(source)

Sets the window fullscreen state.

Parameters

fullscreen

Whether the window should go to fullscreen or not.