Sha256: a7c6b27efbc7831b16da9720c6990ecb2b54cf19c63d74494e132457a85a489b
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
<%= render(Yattho::Alpha::AutoComplete.new(label_text: "Fruits", src: "/auto_complete", input_id: "fruits-input--custom-results", list_id: "fruits-popup--custom-results")) do |component| %> <% component.results(classes: "custom-class") do %> <%= render(Yattho::Alpha::AutoComplete::Item.new(selected: true, value: "apple")) do %> Apple <% end %> <%= render(Yattho::Alpha::AutoComplete::Item.new(value: "orange")) do %> Orange <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.0.1 | previews/docs/alpha_auto_complete_item_preview/default.html.erb |