Sha256: 3d19cae5750c8a91138d1da378372190bcd2f4ae9f1a5711b3348321d26f1bcf

Contents?: true

Size: 234 Bytes

Versions: 73

Compression:

Stored size: 234 Bytes

Contents

<%= render component_tag(x: {dropdown: true}) do %>
  <div class="dropdown-trigger" x-dropdown:trigger>
    <%= trigger || content %>
  </div>
  <div class="dropdown-content" x-dropdown:content>
    <%= dropdown %>
  </div>
<% end %>

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
coveragebook_components-0.8.4 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.3 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.2 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.1 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.0 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.0.beta.3 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.0.beta.2 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.8.0.beta.1 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.10 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.9 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.8 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.7 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.6 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.5 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.4 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.3 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.2 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.1 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.7.0 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.6.5 app/components/coco/base/dropdown/dropdown.html.erb