Documentation / device / DeviceViewport
Type Alias: DeviceViewport
DeviceViewport =
object
Defined in: libs/device/src/base_types.ts:2447
Structure that contains the device viewport information
Properties
x
x:
number
Defined in: libs/device/src/base_types.ts:2449
viewport left
y
y:
number
Defined in: libs/device/src/base_types.ts:2451
viewport top
width
width:
number
Defined in: libs/device/src/base_types.ts:2453
viewport width
height
height:
number
Defined in: libs/device/src/base_types.ts:2455
viewport height
default
default:
boolean
Defined in: libs/device/src/base_types.ts:2461
A boolean value that indicates whether this is full screen viewport
Remarks
The full screen viewport will be automatically resized when the screen size chenged