Skip to main content

SetCloseIconVisibility

Description​

Sets the visibility of the Close button in the Window.

Syntax​

// window points to instance of IWindow
await window.SetCloseIconVisibility(visible);

Parameters​

NameOptionalityTypeDescription
visibleRequiredbooleanThe visibility of the close icon.

Return type​

TypeDescription
Promise < void >Method does not return a value

Exceptions​

ArgumentError - When visible is null or undefined.