setMaxSize

external fun setMaxSize(size: LogicalSize?): Promise<Void>(source)
external fun setMaxSize(size: PhysicalSize?): Promise<Void>(source)
external fun setMaxSize(size: Size?): Promise<Void>(source)

Sets the window maximum inner size. If the size argument is undefined, the constraint is unset.

Parameters

size

The logical or physical inner size, or null to unset the constraint.