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.12.2 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.12.1 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.12.0 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.11.0 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.10.1.beta.2 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.10.1.beta.1 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.10.1.beta.0 app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.10.0 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.9.1 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.9.0 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.9 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.8 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.7 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.6 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.5 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.4 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.3 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.2 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.1 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb
coveragebook_components-0.8.0 app/components/coco/base/modal_lightbox/modal_lightbox.html.erb