opacity([opacity])

Class: Window.

Description:

Sets or gets component opacity float value between 0 and 1 inclusive. Opacity can be set only to Windo with types Window.Type.Borderless or Window.Type.Popup.

Parameters:

Name Type Description

[opacity]

number

A number between 0 and 1 inclusive.

Returns:

If opacity argument is provided, this component is returned, otherwise opacity number is returned.

Type: number | this