Skip to content

Commit 8a601f4

Browse files
committed
(demo,vue): test for tabs selectedIndex on start
1 parent dc5e64b commit 8a601f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo-snippets/vue/Tabs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<NavigationButton text="Back" android.systemIcon="ic_menu_back" @tap="onNavigationButtonTap" />
55
</ActionBar>
66
<GridLayout rows="*, 0" backgroundColor="red">
7-
<MDTabs ref="tabs" :swipeEnabled="false" :animationEnabled="false" :unloadOnTabChange="false" backgroundColor="green">
7+
<MDTabs ref="tabs" :swipeEnabled="false" :animationEnabled="false" :unloadOnTabChange="false" backgroundColor="green" selectedIndex="1">
88
<!-- The bottom tab UI is created via MDTabStrip (the containier) and MDTabStripItem (for each tab)-->
99
<MDTabStrip>
1010
<MDTabStripItem>

0 commit comments

Comments
 (0)