search-results-tweets-tabs.ts 789 B

123456789101112131415161718192021
  1. import { Component } from "@angular/core";
  2. import { IonicPage, NavController, NavParams } from "ionic-angular";
  3. import { SearchResultsTweetsRecentPage } from "../search-results-tweets-recent/search-results-tweets-recent";
  4. import { SearchResultsTweetsPopularPage } from "../search-results-tweets-popular/search-results-tweets-popular";
  5. @IonicPage()
  6. @Component({
  7. selector: "page-search-results-tweets-tabs",
  8. templateUrl: "search-results-tweets-tabs.html"
  9. })
  10. export class SearchResultsTweetsTabsPage {
  11. searchResultsRecentTweets = SearchResultsTweetsRecentPage;
  12. searchResultsPopularTweets = SearchResultsTweetsPopularPage;
  13. query: string;
  14. constructor(public navCtrl: NavController, public navParams: NavParams) {
  15. this.query = this.navParams.data;
  16. }
  17. ionViewDidLoad() {}
  18. }