我有几页,我想向左或向右滑动以在它们之间导航。例如,我的标签组件如:
import { Component } from '@angular/core';
import { HomePage } from '../home/home';
import { Search } from '../search/search';
import { Share } from '../share/share';
import { Notification } from '../notification/notification';
import { Profile } from '../profile/profile';
@Component({
selector: 'hn-tabs',
templateUrl: 'tabs.html'
})
export class TabsPage {
// this tells the tabs component which Pages
// should be each tab's root Page
home: any = HomePage;
search: any = Search;
share: any = Share;
notification: any = Notification;
profile: any = Profile;
constructor() { }
}
我希望使用SWIPE - LEFT
从主页导航到搜索页面。
这可能吗?
请帮助!!