Module: HotwireCombobox::Component::Markup::Wrapper

Defined in:
app/presenters/hotwire_combobox/component/markup/wrapper.rb

Instance Method Summary collapse

Instance Method Details

#main_wrapper_attrsObject



2
3
4
5
6
# File 'app/presenters/hotwire_combobox/component/markup/wrapper.rb', line 2

def main_wrapper_attrs
  customize :main_wrapper, base: {
    class: "hw-combobox__main__wrapper",
    data: { action: ("click->hw-combobox#open:self" if multiselect?), hw_combobox_target: "mainWrapper" } }
end