Class: Aws::AmplifyUIBuilder::Types::ComponentEvent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifyuibuilder/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

Instance Attribute Details

#actionString

The action to perform when a specific event is raised.

Returns:

  • (String)


836
837
838
839
840
841
842
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 836

class ComponentEvent < Struct.new(
  :action,
  :parameters,
  :binding_event)
  SENSITIVE = []
  include Aws::Structure
end

#binding_eventString

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

Returns:

  • (String)


836
837
838
839
840
841
842
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 836

class ComponentEvent < Struct.new(
  :action,
  :parameters,
  :binding_event)
  SENSITIVE = []
  include Aws::Structure
end

#parametersTypes::ActionParameters

Describes information about the action.



836
837
838
839
840
841
842
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 836

class ComponentEvent < Struct.new(
  :action,
  :parameters,
  :binding_event)
  SENSITIVE = []
  include Aws::Structure
end