Class: StimulusPlumbers::Components::Combobox::Typeahead

Inherits:
Plumber::Base
  • Object
show all
Defined in:
lib/stimulus_plumbers/components/combobox/typeahead.rb

Defined Under Namespace

Modules: Metadata

Instance Attribute Summary

Attributes inherited from Plumber::Base

#template

Class Method Summary collapse

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

Class Method Details

.listbox_id_for(panel_id) ⇒ Object



7
8
9
# File 'lib/stimulus_plumbers/components/combobox/typeahead.rb', line 7

def self.listbox_id_for(panel_id)
  [panel_id, "listbox"].compact.join("_")
end

Instance Method Details

#renderObject



27
# File 'lib/stimulus_plumbers/components/combobox/typeahead.rb', line 27

def render(...) = render_typeahead(...)