55 </ActionBar >
66 <GridLayout class =" page" backgroundColor =" white" rows =" *, auto" >
77 <MDTabs row =" 0" :selectedIndex =" currentTab" swipeEnabled =" false" >
8- <MDTabContentItem >
9- <GridLayout class =" p-20" >
10- <Label class =" h1 text-center" text =" First tab" textWrap =" true" ></Label >
11- <Button text =" select sthird" @tap =" selectThird" horizontalAlignment =" center" verticalAlignment =" bottom" />
12- </GridLayout >
13- </MDTabContentItem >
14- <MDTabContentItem >
15- <GridLayout class =" p-20" >
16- <Label class =" h1 text-center" text =" Third tab" textWrap =" true" ></Label >
17- </GridLayout >
18- </MDTabContentItem >
8+ <MDTabContentItem >
9+ <GridLayout class =" p-20" >
10+ <Label class =" h1 text-center" text =" First tab" textWrap =" true" ></Label >
11+ <Button text =" select sthird" @tap =" selectThird" horizontalAlignment =" center" verticalAlignment =" bottom" />
12+ </GridLayout >
13+ </MDTabContentItem >
14+ <MDTabContentItem >
15+ <GridLayout class =" p-20" >
16+ <Label class =" h1 text-center" text =" Third tab" textWrap =" true" ></Label >
17+ </GridLayout >
18+ </MDTabContentItem >
1919 </MDTabs >
2020 <MDBottomNavigationBar
2121 ref =" bottomBar"
2222 row =" 1"
2323 activeColor =" blue"
2424 inactiveColor =" green"
2525 selectedTabIndex =" 2"
26- class =" mdi"
26+ class =" mdi"
2727 @loaded =" onbottomNavigationBarLoaded"
2828 @tabPressed =" onBottomNavigationTabPressed"
2929 @tabSelected =" onBottomNavigationTabSelected"
3030 @tabReselected =" onBottomNavigationTabReselected"
3131 >
32- <MDBottomNavigationTab title =" First" activeColor =" green" />
33- <MDBottomNavigationTab title =" Second" icon =" font://mdi-account" isSelectable = " false " class =" mdi" />
34- <MDBottomNavigationTab title =" Third" icon =" res://ic_menu" inactiveColor =" brown" />
32+ <MDBottomNavigationTab title =" First" activeColor =" green" class = " mdi " />
33+ <MDBottomNavigationTab title =" Second" icon =" font://mdi-account" class =" mdi" />
34+ <MDBottomNavigationTab title =" Third" icon =" res://ic_menu" inactiveColor =" brown" isSelectable = " false " />
3535 </MDBottomNavigationBar >
3636 </GridLayout >
3737 </Page >
@@ -50,7 +50,7 @@ export default Vue.extend({
5050 name: ' BottomNavigationBar' ,
5151 data() {
5252 return {
53- title: title ,
53+ title ,
5454 currentTab: 0
5555 };
5656 },
0 commit comments