Skip to content

@serenity-is/corelib / Decorators / resizable

Function: resizable()

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

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

Legacy decorator that attaches a ResizableAttribute to a dialog class.

Parameters

value

boolean = true

Whether the dialog may be resized. Defaults to true.

Returns

Class decorator.

(target, _context?): void

Parameters

target

Function

_context?

any

Returns

void

Deprecated

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