目录

WindowDisplayPolicy

The policy indicating how the window is displayed on multiple desktops.

On macOS and Windows you can create additional desktops and switch between them. On macOS such desktops are called “Spaces”. On Windows they are called “Virtual Desktops”. These policies control how the window is displayed on these desktops.

type WindowDisplayPolicy = 'default' | 'appearOnAllDesktops' | 'moveToActiveDesktop';

Types 

'default' 

The window appears on only one desktop at a time.

'appearOnAllDesktops' 

The window appears on all desktops.

'moveToActiveDesktop' 

When the window becomes active, move it to the active desktop instead of switching desktops.