Sha256: 580f4371e9c4a749d452560bebab220f882ff6ae592ee977ab12848f49d1781d

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

<% if comp %>
  <div id="<%= comp.id %>"
       class="mdc-menu v-menu
              <%='mdc-menu--open' if comp.open %>"
       style="position: absolute;" tabindex="-1"
       <%= "data-right-offset=9999" if eq(comp.position, :right) %>>
    <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 => {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>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.7 views/mdc/components/menu.erb
voom-presenters-0.1.6 views/mdc/components/menu.erb
voom-presenters-0.1.5 views/mdc/components/menu.erb
voom-presenters-0.1.4 views/mdc/components/menu.erb
voom-presenters-0.1.3 views/mdc/components/menu.erb
voom-presenters-0.1.2 views/mdc/components/menu.erb
voom-presenters-0.1.1 views/mdc/components/menu.erb
voom-presenters-0.1.0 views/mdc/components/menu.erb