Sha256: 30fcdaf5083fef0808861b19aabd57b8d479984cac722f6ea14f77bb76c86987

Contents?: true

Size: 531 Bytes

Versions: 5

Compression:

Stored size: 531 Bytes

Contents

<%= render component_tag(x: {data: x_data("modalLightbox"), bind: "root"}) do %>
  <button type="button" class="modal-lightbox-close" data-role="close" @click="close" x-show="loaded">
    <%= coco_icon(:x, size: :md) %>
  </button>
  <div class="modal-lightbox-content" @click.outside="close">
    <div class="modal-lightbox-loader" x-show="!loaded">
      <%= coco_icon(:loader_circle, spin: true) %>
    </div>
    <div class="modal-lightbox-media" x-ref="media" x-show="loaded">
      <%= image %>
    </div>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.7 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.6 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.5 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.4 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb