Class: StimulusPlumbers::Components::Combobox::Trigger

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

Constant Summary collapse

STIMULUS_ACTION =
[
  "focus->#{Components::Popover::STIMULUS_CONTROLLER}#open",
  "keydown.esc->#{Components::Popover::STIMULUS_CONTROLLER}#close"
].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



12
13
14
# File 'lib/stimulus_plumbers/components/combobox/trigger.rb', line 12

def render(...)
  render_trigger(...)
end