File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 99 </f7-nav-left >
1010 <f7-nav-title >My App</f7-nav-title >
1111 <f7-nav-right >
12+ <f7-link v-if =" $theme.md" icon =" material:compare_arrows" @click =" toggleToolbarPosition" >
13+ <i class =" icon material-icons rotate-icon" >compare_arrows</i >
14+ </f7-link >
1215 <f7-link icon-if-ios =" f7:menu" icon-if-md =" material:menu" panel-open =" right" ></f7-link >
16+
1317 </f7-nav-right >
1418 </f7-navbar >
1519 <!-- Toolbar, fixed on bottom -->
1620 <f7-toolbar >
1721 <f7-link text =" Page Left" href =" /left-page-1/" >
18- <f7-icon if-ios =" f7:drawer" if-md =" material:drawer " active >
22+ <f7-icon if-ios =" f7:drawer" if-md =" material:inbox " active >
1923
2024 </f7-icon >
2125 </f7-link >
@@ -100,6 +104,13 @@ export default {
100104 components: {
101105 version,
102106 TimeStamp
107+ },
108+ methods: {
109+ toggleToolbarPosition () {
110+ this .$$ (this .$el )
111+ .find (" .toolbar, .tabbar" )
112+ .toggleClass (" toolbar-bottom-md" );
113+ }
103114 }
104115};
105116 </script >
Original file line number Diff line number Diff line change 1919 <f7-list >
2020 <f7-list-item link =" /about/" title =" About" view =" #main-view" panel-close ></f7-list-item >
2121 <f7-list-item link =" /form/" title =" Form" view =" #main-view" panel-close ></f7-list-item >
22- <f7-list-item link =" /left-page-1/" title =" Page Left 1" view =" #main-view" panel-close ></f7-list-item >
22+ <f7-list-item link =" /left-page-1/" title =" Page Left 1" view =" #main-view" panel-close >
23+ <f7-icon if-ios =" f7:drawer" if-md =" material:inbox" >
24+ </f7-icon >
25+ </f7-list-item >
2326 <f7-list-item link =" /left-page-2/" title =" Page Left 2" view =" #main-view" panel-close ></f7-list-item >
2427 </f7-list >
2528 </f7-page >
You can’t perform that action at this time.
0 commit comments