Class: BulmaPhlex::Modal::StimulusDataAttributes
- Inherits:
-
Data
- Object
- Data
- BulmaPhlex::Modal::StimulusDataAttributes
- Defined in:
- lib/bulma_phlex/modal.rb
Instance Attribute Summary collapse
-
#stimulus_controller ⇒ Object
readonly
Returns the value of attribute stimulus_controller.
Instance Method Summary collapse
Instance Attribute Details
#stimulus_controller ⇒ Object (readonly)
Returns the value of attribute stimulus_controller
10 11 12 |
# File 'lib/bulma_phlex/modal.rb', line 10 def stimulus_controller @stimulus_controller end |
Instance Method Details
#for_background ⇒ Object
12 |
# File 'lib/bulma_phlex/modal.rb', line 12 def for_background = { action: "click->bulma-phlex--modal#close" } |
#for_close_button ⇒ Object
13 |
# File 'lib/bulma_phlex/modal.rb', line 13 def = { action: "bulma-phlex--modal#close" } |
#for_container ⇒ Object
11 |
# File 'lib/bulma_phlex/modal.rb', line 11 def for_container = { controller: stimulus_controller } |