mendraw/mendix/action
Provides typed access to Mendix action values.
Types
A typed ActionValue value used by the action capability.
pub type ActionValue
Values
pub fn can_execute(action action: ActionValue) -> Bool
Reports whether the action can currently execute.
pub fn execute_action(
action action: option.Option(ActionValue),
) -> Nil
Executes an optional action when present and enabled.
pub fn execute_if_can(action action: ActionValue) -> Nil
Executes the action only when it is enabled.
pub fn is_executing(action action: ActionValue) -> Bool
Reports whether the action is currently executing.