setPosition

external fun setPosition(position: LogicalPosition): Promise<Void>(source)
external fun setPosition(position: PhysicalPosition): Promise<Void>(source)
external fun setPosition(position: Position): Promise<Void>(source)

Sets the webview position.

Parameters

position

The new position, in logical or physical pixels, relative to the top-left corner of the hosting window.