Sha256: b573ee935fff79b92599ebe21349ece6efd98fd8edf2d93a6d02b7ba42a238e9

Contents?: true

Size: 641 Bytes

Versions: 8

Compression:

Stored size: 641 Bytes

Contents

<div class="Vlt-tabs js-format" data-format="<%= format %>">
  <div class="Vlt-tabs__header" role="tablist" aria-label="<%= label %>">
    <% panels.each do |panel| %>
      <div role="tab" data-tab-link="<%= panel['x-tab-id'] || panel['title'].parameterize %>" class="Vlt-tabs__link <%= panel['active'] ? 'Vlt-tabs__link_active' : '' %>">
        <%= panel['title'] %>
      </div>
    <% end %>
  </div>
  <div class="Vlt-tabs__content">
    <% panels.each do |panel| %>
      <div class="Vlt-tabs__panel <%= panel['active'] ? 'Vlt-tabs__panel_active' : '' %>">
        <%= panel['content'] %>
      </div>
    <% end %>
  </div>
</div>


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
nexmo-oas-renderer-2.7.2 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.7.1 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.7.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.6.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.5.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.4.1 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.4.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb
nexmo-oas-renderer-2.3.0 lib/nexmo/oas/renderer/views/open_api/content_switcher/_tabs.erb