Sha256: 4b0448f0944e56406fd7900b75710c7769c4f2775868dc22da9dbc95c0766d7b

Contents?: true

Size: 1011 Bytes

Versions: 12

Compression:

Stored size: 1011 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)"
               <%= partial "components/event", :locals => {comp: item, events: item.events, parent_id: item.event_parent_id} if item.events&.any? %>>
          <% 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

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.11 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.10 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.9 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.8 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.7 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.6 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.5 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.4 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.3 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.2 views/mdc/components/list/_menu.erb
coprl-3.0.0.beta.1 views/mdc/components/list/_menu.erb