Sha256: 3c9a8f212d7f07a090d04cd601b7906e4f0edb30a3795aed2c95c7065c4ed7ae

Contents?: true

Size: 440 Bytes

Versions: 12

Compression:

Stored size: 440 Bytes

Contents

<%= lookbook_render button_component.new(
  id: id,
  icon: icon,
  **button_attrs,
  "x-on:keydown.esc.stop": "hideDropdown",
  "x-on:navigation:complete.window": "updateDropdown") do %>
  <%= content %>
<% end %>

<% if dropdown? %>
  <% content_for :dropdowns do %>
    <div data-dropdown-id="<%= id %>">
      <div class="divide-y divide-lookbook-divider text-left">
        <%= dropdown %>
      </div>
    </div>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/components/lookbook/button/component.html.erb
lookbook-2.3.3 app/components/lookbook/button/component.html.erb
lookbook-2.3.2 app/components/lookbook/button/component.html.erb
lookbook-2.3.0 app/components/lookbook/button/component.html.erb
lookbook-2.2.2 app/components/lookbook/button/component.html.erb
lookbook-2.2.1 app/components/lookbook/button/component.html.erb
lookbook-2.2.0 app/components/lookbook/button/component.html.erb
lookbook-2.1.1 app/components/lookbook/button/component.html.erb
lookbook-2.1.0 app/components/lookbook/button/component.html.erb
lookbook-2.0.5 app/components/lookbook/button/component.html.erb
lookbook-2.0.4 app/components/lookbook/button/component.html.erb
lookbook-2.0.3 app/components/lookbook/button/component.html.erb