Class: RubyUI::ComboboxClearButton
- Defined in:
- lib/ruby_ui/combobox/combobox_clear_button.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RubyUI::Base
Instance Method Details
#view_template ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/ruby_ui/combobox/combobox_clear_button.rb', line 5 def view_template (**attrs) do svg( xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewbox: "0 0 24 24", fill: "none", stroke: "currentColor", stroke_width: "2", stroke_linecap: "round", stroke_linejoin: "round", class: "size-3.5" ) do |s| s.path(d: "M18 6 6 18") s.path(d: "m6 6 12 12") end end end |