awaken-direct-democracy
Version:
This is the functional skeleton / working mock up of a disruptive app to increase voter turnout and participation driven at the start by just one person - Tom Atkinson in New Zealand - after watching in horror the signing of the TPPA in Auckland February
26 lines (20 loc) • 653 B
text/typescript
import { Component } from '@angular/core';
import { NavParams } from 'ionic-angular';
import { AboutPage } from '../about/about';
import { MapPage } from '../map/map';
import { SchedulePage } from '../schedule/schedule';
import { CandidateListPage } from '../candidate-list/candidate-list';
({
templateUrl: 'tabs.html'
})
export class TabsPage {
// set the root pages for each tab
tab1Root: any = SchedulePage;
tab2Root: any = CandidateListPage;
tab3Root: any = MapPage;
tab4Root: any = AboutPage;
mySelectedIndex: number;
constructor(navParams: NavParams) {
this.mySelectedIndex = navParams.data.tabIndex || 0;
}
}