Parameters

external interface Parameters(source)

Properties

Link copied to clipboard

Set the device scale factor (if zero defaults to original device scale factor) (default: 0).

Link copied to clipboard
abstract var scale: Double

Scale of emulated view inside available space (not in fit to view mode) (default: 1).

Link copied to clipboard

Specify the screen type to emulate (default: desktop):

Link copied to clipboard
abstract var screenSize: Size

Set the emulated screen size (screenPosition == mobile).

Link copied to clipboard
abstract var viewPosition: Point

Position the view on the screen (screenPosition == mobile) (default: { x: 0, y: 0 }).

Link copied to clipboard
abstract var viewSize: Size

Set the emulated view size (empty means no override)