5
5
</ActionBar >
6
6
<GridLayout class =" page" backgroundColor =" white" rows =" *, auto" >
7
7
<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 >
19
19
</MDTabs >
20
20
<MDBottomNavigationBar
21
21
ref =" bottomBar"
22
22
row =" 1"
23
23
activeColor =" blue"
24
24
inactiveColor =" green"
25
25
selectedTabIndex =" 2"
26
- class =" mdi"
26
+ class =" mdi"
27
27
@loaded =" onbottomNavigationBarLoaded"
28
28
@tabPressed =" onBottomNavigationTabPressed"
29
29
@tabSelected =" onBottomNavigationTabSelected"
30
30
@tabReselected =" onBottomNavigationTabReselected"
31
31
>
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 " />
35
35
</MDBottomNavigationBar >
36
36
</GridLayout >
37
37
</Page >
@@ -50,7 +50,7 @@ export default Vue.extend({
50
50
name: ' BottomNavigationBar' ,
51
51
data() {
52
52
return {
53
- title: title ,
53
+ title ,
54
54
currentTab: 0
55
55
};
56
56
},
0 commit comments