@serenity-is/corelib / Decorators / panel
Function: panel()
panel(
value): (target,_context?) =>void
Defined in: src/types/decorators.ts:173
Legacy decorator that attaches a PanelAttribute to a dialog class.
Parameters
value
boolean = true
Whether the dialog should prefer panel mode. Defaults to true.
Returns
Class decorator.
(
target,_context?):void
Parameters
target
Function
_context?
any
Returns
void
Deprecated
Prefer static override [Symbol.typeInfo] with PanelAttribute metadata instead.