Sha256: a21b8f96ebb6d9cb816e22261c4f0f49bc32907bf5a522346650eab376d913d5

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

<div class="Vlt-dropdown Vlt-dropdown--full-width">
  <div class="Vlt-dropdown__trigger Vlt-dropdown__trigger--btn"><button class="Vlt-btn Vlt-btn--<%= (theme_light ? "secondary" : "tertiary") %>">
    <%= label ? "#{label}: " : ""%><span class="Vlt-dropdown__selection"><%= panels[0]['title'] %></span>
  </button></div>
  <div class="Vlt-dropdown__panel">
    <div data-tab-content="<%= switcher.id %>" class="Vlt-dropdown__panel__content">
      <% panels.each do |panel| %>
        <div role="tab" data-tab-link="<%= panel['x-tab-id'] || panel['title'].parameterize %>" class="Vlt-dropdown__link Vlt-dropdown__label Vlt-js-tabs__link"><%= panel['title'] %></div>
      <% end %>
    </div>
  </div>
</div>


<div class="js-format" data-format="<%= format %>">
  <div id="<%= switcher.id %>" class="Vlt-js-tabs__content">
    <% panels.each do |panel| %>
      <div class="Vlt-js-tabs__panel <%= panel['active'] ? 'Vlt-js-tabs__panel_active' : '' %>">
        <%= panel['content'] %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nexmo-oas-renderer-2.7.2 lib/nexmo/oas/renderer/views/open_api/content_switcher/_dropdown.erb
nexmo-oas-renderer-2.7.1 lib/nexmo/oas/renderer/views/open_api/content_switcher/_dropdown.erb
nexmo-oas-renderer-2.7.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_dropdown.erb
nexmo-oas-renderer-2.6.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_dropdown.erb
nexmo-oas-renderer-2.5.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_dropdown.erb