Class: StimulusPlumbers::Plumber::Base
- Inherits:
-
Object
- Object
- StimulusPlumbers::Plumber::Base
- Includes:
- HtmlOptions, Renderer
- Defined in:
- lib/stimulus_plumbers/plumber/base.rb
Direct Known Subclasses
Components::ActionList, Components::ActionList::Item, Components::ActionList::Section, Components::Avatar, Components::Button, Components::Button::Group, Components::Calendar, Components::Calendar::Month::Turbo, Components::Calendar::Month::Turbo::DaysOfMonth, Components::Calendar::Month::Turbo::DaysOfWeek, Components::Card, Components::Card::Section, Components::Combobox, Components::Combobox::Autocomplete, Components::Combobox::Date, Components::Combobox::Dropdown, Components::Combobox::Options, Components::Combobox::Options::Option, Components::Combobox::Options::OptionGroup, Components::Combobox::Popover, Components::Combobox::Time, Components::Combobox::Time::Drum, Components::Combobox::Trigger, Components::DatePicker::Navigation, Components::DatePicker::Navigator, Components::Icon, Components::Popover, Form::Fields::Error, Form::Fields::Group, Form::Fields::Hint, Form::Fields::Label
Constant Summary
Constants included from HtmlOptions
HtmlOptions::STIMULUS_SPACEJOIN_KEYS
Instance Attribute Summary collapse
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(template) ⇒ Base
constructor
A new instance of Base.
- #theme ⇒ Object
Methods included from HtmlOptions
#merge_data_options, #merge_html_options, #merge_string_option, #normalize_part
Constructor Details
#initialize(template) ⇒ Base
Returns a new instance of Base.
11 12 13 |
# File 'lib/stimulus_plumbers/plumber/base.rb', line 11 def initialize(template) @template = template end |
Instance Attribute Details
#template ⇒ Object (readonly)
Returns the value of attribute template.
9 10 11 |
# File 'lib/stimulus_plumbers/plumber/base.rb', line 9 def template @template end |
Instance Method Details
#theme ⇒ Object
15 16 17 |
# File 'lib/stimulus_plumbers/plumber/base.rb', line 15 def theme StimulusPlumbers.config.theme end |