Sha256: 99a40b2f43301958eaec6bfb8a237fb40d4b3ed21d77eca538b969a5ec1d9a2f

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

<%= render_component_tag class: "flex items-center text-xs font-mono space-x-1 transition",
  ":class":"{'!opacity-100': resizing}",
  "@viewport:resize-start.window": "resizing = true",
  "@viewport:resize-complete.window": "resizing = false",
  "@dom:update-start.window": "tearDown",
  "@dom:update-complete.window": "createObserver" do %>
    <span x-text="`${width}px`"></span>
    <span class="opacity-70">x</span>
    <span x-text="`${height}px`"></span>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.0 app/components/lookbook/dimensions_display/component.html.erb