ActionCtx
@tsed/formio
Usage
typescript
import { ActionCtx } from "@tsed/formio";See /packages/third-parties/formio/src/decorators/actionCtx.ts.
Overview
ts
function ActionCtx(expression?: string): ParameterDecorator;
export type ActionCtx = {
handler: string;
method: string;
setActionItemMessage: SetActionItemMessage;
action: FormioAction;
};Description
Return the current action context with the following data:
typescript
export type ActionCtx = {
handler: string;
method: string;
setActionItemMessage: SetActionItemMessage;
action: FormioAction;
};handler
ts
handler: string;method
ts
method: string;setActionItemMessage
ts
setActionItemMessage: SetActionItemMessage;action
ts
action: FormioAction;