Subnavbar - 图1

Subnavbar Vue Component

Subnavbar is useful when you need to put any additional elements into Navbar, like Tab Links or Search Bar. It also remains visible when Navbar hidden.

Subnavbar Vue component represents Subnavbar component.

Subnavbar Components

There are following components included:

  • f7-subnavbar

Subnavbar Properties

PropTypeDefaultDescription
<f7-subnavbar> properties
slidingbooleanEnables “sliding” effect
titlestringSubnvabar title
innerbooleantrueWhen enabled the additional “subnavbar-inner” wrapper element will be added

Examples

  1. <f7-page :page-content="false">
  2. <f7-navbar title="Subnavbar">
  3. <f7-subnavbar>
  4. <f7-segmented raised>
  5. <f7-button tab-link="#tab1" tab-link-active>Tab 1</f7-button>
  6. <f7-button tab-link="#tab2">Tab 2</f7-button>
  7. </f7-segmented>
  8. </f7-subnavbar>
  9. </f7-navbar>
  10. <f7-tabs>
  11. <f7-tab id="tab1" tab-active class="page-content">
  12. <f7-block>
  13. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nisi nisi, tincidunt ut eleifend non, sagittis a elit. Sed consequat odio at leo varius viverra...</p>
  14. </f7-block>
  15. </f7-tab>
  16. <f7-tab id="tab2" class="page-content">
  17. <f7-block>
  18. <p>Donec iaculis posuere massa sed dignissim. Praesent id nibh nec massa mollis egestas. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas...</p>
  19. </f7-block>
  20. </f7-tab>
  21. </f7-tabs>
  22. </f7-page>

← Stepper

Swipeout →