Skip to content

@serenity-is/corelib / CloseButtonAttribute

Class: CloseButtonAttribute

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

Indicates whether a dialog should show a close button in its title bar. Applied via static [Symbol.typeInfo] metadata or the legacy decorator.

Extends

Constructors

Constructor

new CloseButtonAttribute(value): CloseButtonAttribute

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

Creates a new CloseButtonAttribute.

Parameters

value

boolean = true

Whether the title bar should display a close button. Defaults to true.

Returns

CloseButtonAttribute

Overrides

CustomAttribute.constructor

Properties

value

value: boolean = true

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

Whether the title bar should display a close button. Defaults to true.


[typeInfo]

static [typeInfo]: ClassTypeInfo<"Serenity.">

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

Overrides

CustomAttribute.[typeInfo]