Skip to content

Commit 7c996f9

Browse files
committed
add tabbar scrollable
1 parent 3d5056e commit 7c996f9

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

src/pages/home.vue

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,26 @@
1212
<f7-link icon-if-ios="f7:menu" icon-if-md="material:menu" panel-open="right"></f7-link>
1313
</f7-nav-right>
1414
</f7-navbar>
15+
<!-- Toolbar, scrollable -->
16+
<f7-toolbar>
17+
<f7-link text="Page Left" href="/left-page-1/">
18+
<f7-icon if-ios="f7:drawer" if-md="material:drawer" active>
19+
20+
</f7-icon>
21+
</f7-link>
22+
<f7-link>
23+
<f7-icon if-ios="f7:today" if-md="material:today">
24+
<f7-badge color="red">7</f7-badge>
25+
</f7-icon>
26+
</f7-link>
27+
<f7-link text="Form" href="/form/">
28+
<f7-icon if-ios="f7:settings" if-md="material:settings">
29+
<f7-badge color="green">2</f7-badge>
30+
</f7-icon>
31+
</f7-link>
32+
33+
</f7-toolbar>
34+
1535
<f7-block strong>
1636
<p>This is an example of split view application layout, commonly used on tablets. The main approach of such kind of layout is that you can see different views at the same time.</p>
1737
<p>Each view may have different layout, different navbar type (dynamic, fixed or static) or without navbar.</p>
@@ -67,11 +87,7 @@
6787
</f7-list>
6888

6989
<version></version>
70-
<!-- Toolbar-->
71-
<f7-toolbar>
72-
<f7-link>Left Link</f7-link>
73-
<f7-link>Right Link</f7-link>
74-
</f7-toolbar>
90+
7591
</f7-page>
7692
</f7-view>
7793
</template>

0 commit comments

Comments
 (0)