Class: Aws::AmplifyUIBuilder::Types::ComponentEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyUIBuilder::Types::ComponentEvent
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-amplifyuibuilder/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action to perform when a specific event is raised.
-
#binding_event ⇒ String
Binds an event to an action on a component.
-
#parameters ⇒ Types::ActionParameters
Describes information about the action.
Instance Attribute Details
#action ⇒ String
The action to perform when a specific event is raised.
836 837 838 839 840 841 842 |
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 836 class ComponentEvent < Struct.new( :action, :parameters, :binding_event) SENSITIVE = [] include Aws::Structure end |
#binding_event ⇒ String
Binds an event to an action on a component. When you specify a ‘bindingEvent`, the event is called when the action is performed.
836 837 838 839 840 841 842 |
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 836 class ComponentEvent < Struct.new( :action, :parameters, :binding_event) SENSITIVE = [] include Aws::Structure end |
#parameters ⇒ Types::ActionParameters
Describes information about the action.
836 837 838 839 840 841 842 |
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 836 class ComponentEvent < Struct.new( :action, :parameters, :binding_event) SENSITIVE = [] include Aws::Structure end |