waygraph / DeviceOptions
Interface: DeviceOptions
Defined in: src/engine/flow/device.ts:8
A device by its parts: a named one turned ({ preset: "mobile", orientation: "landscape" }), or a size of your own.
Properties
height?
optionalheight?:number
Defined in: src/engine/flow/device.ts:13
orientation?
optionalorientation?:"portrait"|"landscape"
Defined in: src/engine/flow/device.ts:15
Which way round: "portrait" (tall) or "landscape" (wide). Default the preset's (a phone portrait, a desktop landscape).
preset?
optionalpreset?:DeviceName
Defined in: src/engine/flow/device.ts:10
The device it starts from. Default "desktop".
touch?
optionaltouch?:boolean
Defined in: src/engine/flow/device.ts:17
A touch screen (taps instead of clicks). Default the preset's: a phone and a tablet are touch.
width?
optionalwidth?:number
Defined in: src/engine/flow/device.ts:12
A size of your own (both, or the preset's).