Skip to content

@serenity-is/corelib / Decorators / maximizable

Function: maximizable()

maximizable(value): (target, _context?) => void

Defined in: src/types/decorators.ts:161

Legacy decorator that attaches a MaximizableAttribute to a dialog class.

Parameters

value

boolean = true

Whether the dialog may be maximized. Defaults to true.

Returns

Class decorator.

(target, _context?): void

Parameters

target

Function

_context?

any

Returns

void

Deprecated

Prefer static override [Symbol.typeInfo] with MaximizableAttribute metadata instead.