Skip to content

Commit 6a7fa01

Browse files
committed
demo(vue): update
1 parent 55d62df commit 6a7fa01

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

demo-snippets/vue/BottomNavigation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</ActionBar>
66

77
<GridLayout rows="*, 0" backgroundColor="red">
8-
<MDBottomNavigation selectedIndex="1" :iosCustomPositioning="true">
8+
<MDBottomNavigation selectedIndex="1" :iosCustomPositioning="false">
99
<!-- The bottom tab UI is created via MDTabStrip (the containier) and MDTabStripItem (for each tab)-->
1010
<MDTabStrip>
1111
<MDTabStripItem>

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" :iosCustomPositioning="false" :unloadOnTabChange="false" backgroundColor="green">
7+
<MDTabs ref="tabs" :swipeEnabled="false" :animationEnabled="false" :unloadOnTabChange="false" backgroundColor="green">
88
<!-- The bottom tab UI is created via MDTabStrip (the containier) and MDTabStripItem (for each tab)-->
99
<MDTabStrip>
1010
<MDTabStripItem>

demo-snippets/vue/install.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ import Mixins from './Mixins.vue';
3636

3737
import '../app.scss';
3838

39+
import {Trace} from '@nativescript/core';
40+
Trace.addCategories(Trace.categories.NativeLifecycle);
41+
Trace.addCategories(Trace.categories.ViewHierarchy);
42+
// Trace.enable();
3943
installMixins();
4044
installBottomSheet();
4145
if (__IOS__) {

0 commit comments

Comments
 (0)