Skip to content

@serenity-is/corelib / Attributes / closeButton

Function: closeButton()

closeButton(value): CloseButtonAttribute

Defined in: src/types/attributes.ts:133

Creates a CloseButtonAttribute.

Parameters

value

boolean = true

True to show close button (default true).

Returns

CloseButtonAttribute