hasBorder([value])

Class: Window.

Description:

Removes window border and title bar when set to false, or gets boolean indicating of the Window has border. Doesn't change anything when set to true. It cannot be undone.
NOTE: This should only be called before the Window becomes visible, otherwise error occurs: "The window is displayable".

Parameters:

Name Type Description

[value]

boolean

Set to false to remove Window border before the Window became visible.

Returns:

If argument is provided, this component is returned, otherwise boolean value is returned.

Type: this | boolean