File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2323
2424 <!-- The number of MDTabContentItem components should corespond to the number of MDTabStripItem components -->
2525 <MDTabContentItem >
26- <GridLayout backgroundColor =" red" @loaded =" onLoaded('red')" >
26+ <GridLayout backgroundColor =" red" @loaded =" onLoaded('red')" @tap = " navigateToTabsSample " >
2727 <Label text =" Home Page" class =" h2 text-center" ></Label >
2828 </GridLayout >
2929 </MDTabContentItem >
4343
4444<script lang="ts">
4545import * as frameModule from ' @nativescript/core/ui/frame' ;
46- import { Tabs } from ' @nativescript-community/ui-material-tabs' ;
4746import { EventData } from ' @nativescript/core' ;
47+ import Tabs from ' ./Tabs.vue' ;
4848
4949import Vue from ' vue' ;
5050
@@ -63,6 +63,10 @@ export default Vue.extend({
6363 },
6464 onLoaded(name ) {
6565 console .log (' onTabLoaded' , name )
66+ },
67+ navigateToTabsSample() {
68+ this .$navigateTo (Tabs );
69+
6670 }
6771 }
6872});
You can’t perform that action at this time.
0 commit comments