Skip to content

Interface: WindowOptions ​

Defined in: types/desktop-engine.d.ts:940

Window constructor options

Extends ​

Properties ​

events? ​

ts
optional events?: string[];

Defined in: types/desktop-engine.d.ts:842

Event names to enable on the native side up front (JS still needs a callback to receive them)

Inherited from ​

ComponentOptions.events


parent? ​

ts
optional parent?: Window;

Defined in: types/desktop-engine.d.ts:948

Parent window; the new window is shown above it as a child window


style? ​

ts
optional style?: StyleProperties;

Defined in: types/desktop-engine.d.ts:840

Initial style

Inherited from ​

ComponentOptions.style


type ​

ts
type: WindowType;

Defined in: types/desktop-engine.d.ts:946

Window type: launchOptions.windowType. Where the content is placed decides it and new throws for the others: a wallpaper makes desktop windows, a widget widget windows on the desktop and overlay windows above all windows, a companion overlay windows

The SDK is released under the Apache License 2.0