Skip to content

@serenity-is/corelib / ReflectionOptionsSetter / set

Function: set()

set(target, options): void

Defined in: src/ui/widgets/reflectionoptionssetter.ts:95

Applies an options bag to a widget instance by setting members decorated with OptionAttribute.

Parameters

target

any

Widget instance to configure.

options

any

Options object (keys are matched case-insensitively via camelCase conversion).

Returns

void