Module Values.ComponentEventSource

Describes the configuration of an event. You can bind an event and a corresponding action to a Component or a ComponentChild. A button click is an example of an event.

Sourcetype nonrec t = {
  1. action : String_.t option;
    (*

    The action to perform when a specific event is raised.

    *)
  2. parameters : ActionParameters.t option;
    (*

    Describes information about the action.

    *)
  3. bindingEvent : String_.t option;
    (*

    Binds an event to an action on a component. When you specify a bindingEvent, the event is called when the action is performed.

    *)
}
Sourceval make : ?action:??? -> ?parameters:??? -> ?bindingEvent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * Awso.Botodata.value) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t