Sha256: f0c1889851e8d60c4f1bc47441fb2b244c689af4f0e3424995dce503146a95ff

Contents?: true

Size: 526 Bytes

Versions: 49

Compression:

Stored size: 526 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_2, spin: true) %>
    </div>
    <div class="modal-lightbox-media" x-ref="media" x-show="loaded">
      <%= image %>
    </div>
  </div>
<% end %>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
coveragebook_components-0.19.3 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.2 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.1 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.19.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.18.8 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.18.7 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.18.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.7 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.6 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.5 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.4 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.3 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.2 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.1 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.17.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.16.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.15.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.14.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.13.1 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.13.0 app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb