Home > @polyspec/crudui-generator-core > runAction
runAction() function
Run a resolved action. Returns undefined when the target lacks a required path or key. Adding and copying focus the new row, moving focuses the moved row, and removing focuses the previous row, then the next row, then the collection. A name that is none of the eleven actions fails and changes nothing (CURT-091).
Signature:
export declare function runAction(form: FormInstance, target: ActionTarget): ActionResult | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
form | ||
|
target |
Returns:
ActionResult | undefined