CRUDUI

Home > @polyspec/crudui-generator-core > ActionVM

ActionVM interface

A resolved list or detail action.

Signature:

export interface ActionVM 

Properties

Property

Modifiers

Type

Description

behavior?

Record<string, string>

(Optional) Event attribute names mapped to their opaque scripts (preserved verbatim), when present: the declared behavior member names, or onclick for a script action, whose button runs its script when it is clicked.

design?

ResolvedDesign

(Optional) Resolved action design, when present.

format?

CellFormatModel

(Optional) Normalized action format (usually link), when present.

key

string

Action key (the action's name in the actions map).

label

string

Translated action label (defaults to the action key).