Skip to content

@serenity-is/corelib / PanelAttribute

Class: PanelAttribute

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

Indicates that a dialog should open as a side panel by default. Panels are rendered docked to the side rather than as centered modals.

Extends

Constructors

Constructor

new PanelAttribute(value): PanelAttribute

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

Creates a new PanelAttribute.

Parameters

value

boolean = true

Whether the dialog should prefer panel mode. Defaults to true.

Returns

PanelAttribute

Overrides

CustomAttribute.constructor

Properties

value

value: boolean = true

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

Whether the dialog should prefer panel mode. Defaults to true.


[typeInfo]

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

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

Overrides

CustomAttribute.[typeInfo]