Class: JsxRosetta::Backend::ViewComponent::EventDescriptor
- Inherits:
-
Data
- Object
- Data
- JsxRosetta::Backend::ViewComponent::EventDescriptor
- Defined in:
- lib/jsx_rosetta/backend/view_component.rb
Overview
Structured intermediate for tag_builder_data_action — avoids the fragile “parse what you just rendered” pattern. :literal is a raw action token like ‘“click->foo#bar”`; :ruby is a Ruby expression whose value is the action string (e.g. `event.handler.expression`).
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
35 36 37 |
# File 'lib/jsx_rosetta/backend/view_component.rb', line 35 def body @body end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
35 36 37 |
# File 'lib/jsx_rosetta/backend/view_component.rb', line 35 def kind @kind end |