closeOperation([operation])

Class: InternalWindow.

Description:

Sets or gets the operation to perform when the InternalWindow's close button is clicked by a user or a close() method is called on this InternalWindow.

Parameters:

Name Type Description

[operation]

Window.CloseOperation

One of Window.CloseOperation enum values.

Returns:

Returns this component if argument is provided, otherwise returns value.

Type: InternalWindow | Window.CloseOperation