CurriedAction
Extends
Constructors
Constructor
new CurriedAction(options): CurriedAction;
Parameters
| Parameter | Type |
|---|---|
options | CurriedActionOptions |
Returns
CurriedAction
Overrides
ParameterizedAction.constructor
Properties
| Property | Type | Inherited from |
|---|---|---|
action | ParameterizedAction | - |
actionStore | ActionStore | ParameterizedAction.actionStore |
entities | { [key: string]: any; } | - |
options | ParameterizedActionOptions | ParameterizedAction.options |
params | { [key: string]: any; } | - |
Accessors
dialogStore
Inherited from
ParameterizedAction.dialogStore
group
Get Signature
get group(): string;
Returns
string
Inherited from
id
Get Signature
get id(): string;
Returns
string
Inherited from
visorStore
Inherited from
ParameterizedAction.visorStore
Methods
collectParams()
collectParams(event): Promise<boolean>;
Parameters
| Parameter | Type |
|---|---|
event | Omit<T["EVENT"], "id"> |
Returns
Promise<boolean>
Inherited from
ParameterizedAction.collectParams
fireAction()
fireAction(event): Promise<any>;
Parameters
| Parameter | Type |
|---|---|
event | ParameterizedActionEvent |
Returns
Promise<any>
Overrides
ParameterizedAction.fireAction
getExclusiveExecutionLock()
getExclusiveExecutionLock(event?): () => any;
Parameters
| Parameter | Type |
|---|---|
event? | { allowed?: (e) => boolean; } |
event.allowed? | (e) => boolean |
Returns
() => any
Inherited from
ParameterizedAction.getExclusiveExecutionLock
getTypeDisplayName()
getTypeDisplayName(): string;
Returns
string
Inherited from
ParameterizedAction.getTypeDisplayName
renderAsButton()
renderAsButton(render, extraData?): Element;
Parameters
| Parameter | Type |
|---|---|
render | (btn) => Element |
extraData | Partial<T["EVENT"]> |
Returns
Element
Inherited from
ParameterizedAction.renderAsButton
representAsButton()
representAsButton(extraData?): Btn;
Create a button representation of this action.
The button carries a live validation function, so consumers that render a Btn directly get the same dynamic enabled/disabled behavior as action controls.
Parameters
| Parameter | Type |
|---|---|
extraData | Partial<T["EVENT"]> |
Returns
Inherited from
ParameterizedAction.representAsButton
representAsComboBoxItem()
representAsComboBoxItem(options?): ActionComboBoxItem<CurriedAction>;
Parameters
| Parameter | Type |
|---|---|
options | { eventData?: Partial<T["EVENT"]>; installAction: boolean; } |
options.eventData? | Partial<T["EVENT"]> |
options.installAction | boolean |
Returns
ActionComboBoxItem<CurriedAction>
Inherited from
ParameterizedAction.representAsComboBoxItem
representAsControl()
representAsControl(options?): any;
Parameters
| Parameter | Type |
|---|---|
options | { eventData?: Partial<T["EVENT"]>; } |
options.eventData? | Partial<T["EVENT"]> |
Returns
any
Inherited from
ParameterizedAction.representAsControl
representAsIcon()
representAsIcon(extraData?): Btn;
Parameters
| Parameter | Type |
|---|---|
extraData | Partial<T["EVENT"]> |
Returns
Inherited from
ParameterizedAction.representAsIcon
serialize()
serialize(): SerializedAction;
Returns
Inherited from
setActionStore()
setActionStore(app): void;
Parameters
| Parameter | Type |
|---|---|
app | ActionStore |
Returns
void
Overrides
ParameterizedAction.setActionStore
validate()
validate(event?): ValidationResult;
Parameters
| Parameter | Type |
|---|---|
event | Partial<ParameterizedActionEvent> |