Builder

class Builder(val windowId: WindowID)

A builder for SetContentsSizeRequest, which allows setting the optional parameters of the BrowserDomain.setContentsSize command via a lambda.

Constructors

Link copied to clipboard
constructor(windowId: WindowID)

Properties

Link copied to clipboard
var height: Int?

The window contents height in DIP. Assumes current height if omitted. Must be specified if 'width' is omitted.

Link copied to clipboard
var width: Int?

The window contents width in DIP. Assumes current width if omitted. Must be specified if 'height' is omitted.

Link copied to clipboard

Browser window id.

Functions

Link copied to clipboard