An action triggered by user interaction with an A2UI component.
Actions have a name and optional context bindings that resolve against the data model when the action fires.
Examples
# Simple action
%A2UI.Action{name: "refresh"}
# Action with context
%A2UI.Action{name: "delete_item", context: %{
"item_id" => %A2UI.BoundValue{path: "/selected/id"}
}}
Summary
Types
@type t() :: %A2UI.Action{ context: %{optional(String.t()) => A2UI.BoundValue.t()} | nil, name: String.t() }