Skip to content

Interface: ImageOptions ​

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

Image 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


position? ​

ts
optional position?: ImagePosition;

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

Alignment


size? ​

ts
optional size?: ImageSize;

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

Scaling mode


src? ​

ts
optional src?: string;

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

Image source: an http(s) URL or a path inside the package or sandbox


style? ​

ts
optional style?: StyleProperties;

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

Initial style

Inherited from ​

ComponentOptions.style

The SDK is released under the Apache License 2.0