width([width])

Class: Window. Method inherited from UIComponent.

Description:

Convenience method to set or get the width of component.

Parameters:

Name Type Description

[width]

number

New width of the component.

Returns:

Returns width if no argument is set, otherwise returns this component.

Type: number | UIComponent

Also See: