Configures an App with the window layer.
Adds a Windows resource to the app’s default world and registers
typed window movement and resize, keyboard, pointer, and file drag/drop
events, including WindowMove, WindowResize,
KeyDown, PointerMove, and FileDrop. It also
makes WindowRequest, Window, MainWindow, and
Windows available to persistence-facing features.
When initPrimaryWindow is enabled, the plugin creates one primary-window
entity with Window and MainWindow, using
primaryWindowOptions. When it is disabled, no default primary-window
entity is created and your code can create its own window entities.
A browser integration layer can connect those entities to browser canvases.