Class: StimulusPlumbers::Components::Combobox::Time

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

Defined Under Namespace

Classes: Drum

Constant Summary collapse

STIMULUS_CONTROLLER =
"combobox-time"

Constants included from Plumber::HtmlOptions

Plumber::HtmlOptions::STIMULUS_SPACEJOIN_KEYS

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::HtmlOptions

#extract_classes, #merge_data_options, #merge_html_options, #merge_string_option, #normalize_part

Constructor Details

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

Class Method Details

.default_optsObject



9
10
11
12
13
# File 'lib/stimulus_plumbers/components/combobox/time.rb', line 9

def self.default_opts
  {
    popover: { label: "Picker", role: "dialog", tag: :div }
  }
end

Instance Method Details

#renderObject



15
16
17
# File 'lib/stimulus_plumbers/components/combobox/time.rb', line 15

def render(...)
  render_time(...)
end