Skip to content

Interface: WindowOptions ​

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

Window constructor options

Extends ​

Properties ​

events? ​

ts
optional events?: string[];

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

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:678

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:580

Initial style

Inherited from ​

ComponentOptions.style


type? ​

ts
optional type?: WindowType;

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

Window type; defaults to a regular window. The content's type limits it and new throws for the others: a wallpaper makes desktop windows, widgets and pets widget and overlay windows (launchOptions.windowType)

The SDK is released under the Apache License 2.0