向左/向右滑动以在Ionic 2 RC 2

时间:2016-11-10 13:33:44

标签: android ios ionic-framework ionic2

我有几页,我想向左或向右滑动以在它们之间导航。例如,我的标签组件如:

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主页导航到搜索页面

这可能吗?

请帮助!!

0 个答案:

没有答案