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.6.4 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.6.3 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.6.2 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.6.1 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.6.0 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.7 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.6 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.5 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.4 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.3 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.2 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.1 app/components/coco/base/dropdown/dropdown.html.erb
coveragebook_components-0.5.0 app/components/coco/base/dropdown/dropdown.html.erb