1 | import { NavOptions, NavSegment } from './nav-util';
|
2 | import { ViewController } from './view-controller';
|
3 | export interface Nav {
|
4 | goToRoot(opts: NavOptions): Promise<any>;
|
5 | }
|
6 | export interface Tabs {
|
7 | viewCtrl: ViewController;
|
8 | _tabs: Tab[];
|
9 | select(tabOrIndex: number | Tab, opts: NavOptions, fromUrl: boolean): void;
|
10 | _top: number;
|
11 | setTabbarPosition(top: number, bottom: number): void;
|
12 | _getSelectedTabIndex(secondaryId: string, fallbackIndex?: number): number;
|
13 | getByIndex(index: number): Tab;
|
14 | }
|
15 | export interface Tab {
|
16 | tabUrlPath: string;
|
17 | tabTitle: string;
|
18 | index: number;
|
19 | _segment: NavSegment;
|
20 | }
|
21 | export interface Content {
|
22 | resize(): void;
|
23 | }
|
24 | export interface Footer {
|
25 | }
|
26 | export interface Header {
|
27 | }
|
28 | export interface Navbar {
|
29 | setBackButtonText(backButtonText: string): void;
|
30 | hideBackButton: boolean;
|
31 | didEnter(): void;
|
32 | }
|