Skip to content

@serenity-is/corelib / DialogAddonComponent

Interface: DialogAddonComponent

Defined in: src/ui/dialogs/dialogaddons.tsx:71

A component that an addon shows in a tab or a dialog.

Methods

destroy()?

optional destroy(): void

Defined in: src/ui/dialogs/dialogaddons.tsx:75

Called when the dialog is closed.

Returns

void


update()?

optional update(context): void

Defined in: src/ui/dialogs/dialogaddons.tsx:73

Called when the dialog loads another record, e.g. the next one, to show it.

Parameters

context

DialogAddonContext

Returns

void