Skip to content

Home > @liquidrazor/list-display > GeneralAction

GeneralAction interface

Signature:

typescript
export interface GeneralAction<TRow = any, TRowId = string | number> extends ListActionBase<TRow, TRowId>

Extends: ListActionBase<TRow, TRowId>

Properties

Property

Modifiers

Type

Description

handler?

(ctx: GeneralActionContext<TRow, TRowId>) => void | Promise<void>

(Optional) Handler executed when the action is triggered (after any modal interaction, if applicable).

requiresSelection?

boolean

(Optional) Whether a non-empty selection is required for this action.