Sha256: d11af1f7a7a02cccbff85c36af2b07bc4c2b916fcddf80e2c09e1f11bcbc9301

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

<%= render component_tag(x: {
  data: x_data("appImagePickerButton", alpine_props),
  "@dropdown:mount": "onDropdownMount"
}) do %> 
  <%= input %>
  <%= render button do |btn| %>
    <% btn.with_dropdown do %>
      <div
        @image-picker:select="setSelectedImage($event.detail.image)"
        @image-picker:clear="clearSelectedImage"
        x-cloak>
        <div data-role="image-picker">
          <%= picker %>
        </div>
      </div>
    <% end %>

    <%= button_text %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coveragebook_components-0.5.0 app/components/coco/app/elements/image_picker_button/image_picker_button.html.erb