Module: StimulusPlumbers::Helpers::ActionListHelper
- Included in:
- StimulusPlumbers::Helpers
- Defined in:
- lib/stimulus_plumbers/helpers/action_list_helper.rb
Instance Method Summary collapse
- #sp_action_list(**html_options, &block) ⇒ Object
- #sp_action_list_item(content = nil, url: nil, external: false, active: false, **html_options, &block) ⇒ Object
- #sp_action_list_section(title: nil, **html_options, &block) ⇒ Object
Instance Method Details
#sp_action_list(**html_options, &block) ⇒ Object
6 7 8 |
# File 'lib/stimulus_plumbers/helpers/action_list_helper.rb', line 6 def sp_action_list(**, &block) action_list_renderer.list(**, &block) end |
#sp_action_list_item(content = nil, url: nil, external: false, active: false, **html_options, &block) ⇒ Object
14 15 16 |
# File 'lib/stimulus_plumbers/helpers/action_list_helper.rb', line 14 def sp_action_list_item(content = nil, url: nil, external: false, active: false, **, &block) action_list_renderer.item(content, url: url, external: external, active: active, **, &block) end |
#sp_action_list_section(title: nil, **html_options, &block) ⇒ Object
10 11 12 |
# File 'lib/stimulus_plumbers/helpers/action_list_helper.rb', line 10 def sp_action_list_section(title: nil, **, &block) action_list_renderer.section(title: title, **, &block) end |