Optionalenabledtrue to enter fullscreen, false to leave it.
OptionalwindowTarget window: main or a popup id; omitted or empty, the calling window. There is no fallback to the main window: a caller that is not one of the plugin's windows fails with NOT_FOUND, and a DUI/CUI panel with PANEL_MODE_UNSUPPORTED.
Parameters for
window.setFullscreen. Enter or leave fullscreen. Setting the state the window already has succeeds. Leaving fullscreen restores the rectangle, the maximized state and the always-on-top state the window had before. Fails in panel mode.