Sha256: 34cfe012529712c96c6859103f648b92e1269ec5ba60c58fd2050df72dc8546b
Contents?: true
Size: 715 Bytes
Versions: 46
Compression:
Stored size: 715 Bytes
Contents
<% subject_id = SecureRandom.hex %> <%= render(Primer::Alpha::SelectPanel.new( data: { interaction_subject: subject_id }, select_variant: :multiple, fetch_strategy: :local, open_on_load: open_on_load )) do |panel| %> <% panel.with_show_button { "Choose item" } %> <% panel.with_item(label: "Item 1", item_id: :item1) %> <% panel.with_item(label: "Item 2", item_id: :item2) %> <% panel.with_item(label: "Item 3", item_id: :item3) %> <% panel.with_item(label: "Item 4", item_id: :item4) %> <% panel.with_item(label: "Disabled", disabled: true, item_id: :disabled) %> <% end %> <%= render partial: "primer/alpha/select_panel_preview/interaction_subject_js", locals: { subject_id: subject_id } %>
Version data entries
46 entries across 46 versions & 2 rubygems