Class: FoxTail::DismissibleTriggerComponent
- Inherits:
-
TriggerBaseComponent
- Object
- ViewComponent::Base
- Base
- BaseComponent
- TriggerBaseComponent
- FoxTail::DismissibleTriggerComponent
- Defined in:
- app/components/fox_tail/dismissible_trigger_component.rb
Defined Under Namespace
Classes: StimulusController
Instance Attribute Summary
Attributes inherited from TriggerBaseComponent
Attributes inherited from BaseComponent
Instance Method Summary collapse
Methods inherited from TriggerBaseComponent
#before_render, #block?, #call, #initialize, #render?, #stimulus_controller_options
Methods inherited from BaseComponent
classname_merger, #initialize, stimulus_merger, use_stimulus?, #with_html_attributes, #with_html_class
Methods inherited from Base
Constructor Details
This class inherits a constructor from FoxTail::TriggerBaseComponent
Instance Method Details
#trigger_type ⇒ Object
4 5 6 |
# File 'app/components/fox_tail/dismissible_trigger_component.rb', line 4 def trigger_type [:trigger_type] ||= :click end |