innerSize([width_or_size], [height])

Class: Window.

Description:

Sets or gets a size of content container of this Window (doesn't include the size of the window borders and a menu bar like size() function does).

Parameters:

Name Type Description

[width_or_size]

number | Size

Width integer or a Size object as a sole parameter.

[height]

number

Integer height value (required if the first argument is a numeric width).

Returns:

Returns this Window if called with parameters, otherwise returns the inner size.

Type: Size | Window

Also See: