Sha256: 41223b2635ad1963fec54b6c870e661431ad5fbb771d511951fe9a511afcb6e6

Contents?: true

Size: 987 Bytes

Versions: 6

Compression:

Stored size: 987 Bytes

Contents

<div id="<%= comp.id %>"
      class="mdc-menu v-menu"
      <%= 'data-hoist="false"' if !comp.hoisted %>
      data-placement="contextual"
      style="position: absolute;"
      tabindex="-1">
  <ul class="mdc-menu__items mdc-list" role="menu" aria-hidden="true">
    <% comp.items.each do |item| %>
      <% unless eq(item.type, :divider) %>
        <li class="mdc-list-item" role="menuitem" tabindex="0"
            <%= 'disabled' if item.disabled %>>
          <% unless item.disabled %>
            <a class="v-menu-link"
               id="<%= item.id %>"
               href="javascript:void(0)"
               <%= erb :"components/event", :locals => {comp: item, events: item.events, parent_id: item.event_parent_id} %>>
          <% end %>
          <%= item.text %>
          <% unless item.disabled %>
            </a>
          <% end %>
        </li>
      <% else %>
        <li class="mdc-list-divider" role="separator"></li>
      <% end %>
    <% end %>
  </ul>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 views/mdc/components/list/menu.erb
voom-presenters-2.1.0 views/mdc/components/list/menu.erb
voom-presenters-2.0.3 views/mdc/components/list/menu.erb
voom-presenters-2.0.2 views/mdc/components/list/menu.erb
voom-presenters-2.0.1 views/mdc/components/list/menu.erb
voom-presenters-2.0.0 views/mdc/components/list/menu.erb