nav/tabs snapshot tests

This commit is contained in:
Adam Bradley
2015-07-23 10:52:46 -05:00
parent 9d5b22cb3b
commit f1c8e1fba6
10 changed files with 68 additions and 14 deletions

View File

@ -15,7 +15,7 @@ import {ThirdPage} from './third-page';
'</ion-navbar>' +
'<ion-content class="padding">' +
'<p>First Page: {{ val }}</p>' +
'<p><button primary (click)="push()">Push (Go to 2nd)</button></p>' +
'<p><button id="from1To2" primary (click)="push()">Push (Go to 2nd)</button></p>' +
'<p><button primary [push-data]="pushData" [nav-push]="pushPage">Push w/ nav-push (Go to 2nd)</button></p>' +
'<p><button primary (click)="setItems()">setItems() (Go to 3rd, no history)</button></p>' +
'<icon class="ion-ios-arrow-back"></icon>' +

View File

@ -8,8 +8,8 @@ import {FirstPage} from './first-page';
<ion-navbar *navbar primary><ion-title>Second Page Header</ion-title></ion-navbar>
<ion-content class="padding">
<p><button primary (click)="pop()">Pop (Go back to 1st)</button></p>
<p><button primary nav-pop>Pop with NavPop (Go back to 1st)</button></p>
<p><button primary (click)="push()">Push (Go to 3rd)</button></p>
<p><button id="from2To1" primary nav-pop>Pop with NavPop (Go back to 1st)</button></p>
<p><button id="from2To3" primary (click)="push()">Push (Go to 3rd)</button></p>
<p><button primary (click)="setItems()">setItems() (Go to 3rd, FirstPage 1st in history)</button></p>
<p>Random: {{ val }}</p>
<div class="green"><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f></div>

View File

@ -6,7 +6,7 @@ import {IonicView, NavController} from 'ionic/ionic';
<ion-navbar *navbar><ion-title>Third Page Header</ion-title></ion-navbar>
<ion-content class="padding">
<p>
<button primary (click)="pop()">Pop (Go back to 2nd)</button>
<button id="from3To2" primary (click)="pop()">Pop (Go back to 2nd)</button>
</p>
<div class="yellow"><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f></div>
</ion-content>