Class: StimulusPlumbers::Components::Combobox::Dropdown
- Inherits:
-
Plumber::Base
- Object
- Plumber::Base
- StimulusPlumbers::Components::Combobox::Dropdown
- Defined in:
- lib/stimulus_plumbers/components/combobox/dropdown.rb
Defined Under Namespace
Modules: Metadata
Constant Summary collapse
- STIMULUS_CONTROLLER =
"combobox-dropdown"- STIMULUS_ACTION =
[ "click->#{STIMULUS_CONTROLLER}#select", "keydown->#{STIMULUS_CONTROLLER}#onNavigate", "#{STIMULUS_CONTROLLER}:selected->#{Combobox::STIMULUS_CONTROLLER}#onSelect", "#{STIMULUS_CONTROLLER}:selected->#{Components::Popover::STIMULUS_CONTROLLER}#closeOnSelect" ].join(" ").freeze
Instance Attribute Summary
Attributes inherited from Plumber::Base
Instance Method Summary collapse
Methods inherited from Plumber::Base
Methods included from Plumber::Renderer
#set_slots, #slot_block_for, #slot_kwargs_for, #slot_renderable?
Methods included from Plumber::Options::Aria
Methods included from Plumber::Options::Html
Constructor Details
This class inherits a constructor from StimulusPlumbers::Plumber::Base
Instance Method Details
#render ⇒ Object
25 |
# File 'lib/stimulus_plumbers/components/combobox/dropdown.rb', line 25 def render(...) = render_dropdown(...) |