Class: StimulusPlumbers::Components::Combobox::Dropdown

Inherits:
Plumber::Base
  • Object
show all
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

#template

Instance Method Summary collapse

Methods inherited from Plumber::Base

#initialize, #theme

Methods included from Plumber::Renderer

#set_slots, #slot_block_for, #slot_kwargs_for, #slot_renderable?

Methods included from Plumber::Options::Aria

#labelled_aria

Methods included from Plumber::Options::Html

#merge_html_options

Constructor Details

This class inherits a constructor from StimulusPlumbers::Plumber::Base

Instance Method Details

#renderObject



25
# File 'lib/stimulus_plumbers/components/combobox/dropdown.rb', line 25

def render(...) = render_dropdown(...)