Module: HotwireCombobox::Component::Markup::Handle

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

Instance Method Summary collapse

Instance Method Details

#handle_attrsObject



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

def handle_attrs
  customize :handle, base: {
    class: "hw-combobox__handle",
    data: { action: "click->hw-combobox#clearOrToggleOnHandleClick", hw_combobox_target: "handle" } }
end