ViewportResponse
Response returned after setting the viewport
type ViewportResponse {
width: Float
height: Float
deviceScaleFactor: Float
mobile: Boolean
time: Float
}
Fields
ViewportResponse.width
● Float
scalar
The width of the viewport in pixels
ViewportResponse.height
● Float
scalar
The height of the viewport in pixels
ViewportResponse.deviceScaleFactor
● Float
scalar
The device scale factor
ViewportResponse.mobile
● Boolean
scalar
Whether the device is in mobile mode
ViewportResponse.time
● Float
scalar
The time it took to set the viewport
Returned By
viewport
mutation