Sha256: 986b6019a65821dda7e28a5cc2690718e436f92d88255968beb7ccc066849d14
Contents?: true
Size: 305 Bytes
Versions: 2
Compression:
Stored size: 305 Bytes
Contents
<%= render component_tag do %> <ol class="menu-items" @click="if ($event.target.closest('button') !== null || $event.target.closest('a') !== null) {button?.$el?.click()}"> <% items.compact.each do |item| %> <li class="menu-item"> <%= item %> </li> <% end %> </ol> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coveragebook_components-0.19.8 | app/components/coco/buttons/menu/menu.html.erb |
coveragebook_components-0.19.7 | app/components/coco/buttons/menu/menu.html.erb |