minSize(width_or_size, height)

Class: UIComponent.

Description:

Indicates the minimum size the component can be resized to.

Parameters:

Name Type Description

width_or_size

number | Size

Minimum width, or a Size formatted object as a sole parameter.

height

number

Minimum height of the component.

Returns:

If called without parameters, current minimum Size is returned or null if it wasn't previously set; otherwise returns this component instance for chaining.

Type: Size | this | null

Also See: