-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(searchbar): position elements when the value changes not after co…
…ntent checked
- Loading branch information
1 parent
9819aae
commit 31c7e59
Showing
8 changed files
with
68 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<ion-navbar *navbar> | ||
<ion-title>Detail</ion-title> | ||
</ion-navbar> | ||
|
||
<ion-content padding> | ||
<h1>City: {{city}}</h1> | ||
</ion-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
it('should navigate to searchbar', function() { | ||
element(by.css('.e2eSearchbarNav')).click(); | ||
it('should navigate to details', function() { | ||
element(by.css('.e2eSearchbarNavItem')).click(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<ion-navbar *navbar> | ||
<ion-title>Searchbar</ion-title> | ||
</ion-navbar> | ||
|
||
<ion-toolbar> | ||
<ion-searchbar primary (ionInput)="getItems($event)" placeholder="Filter Schedules"> | ||
</ion-searchbar> | ||
</ion-toolbar> | ||
|
||
<ion-content> | ||
<ion-searchbar (ionInput)="getItems($event)"></ion-searchbar> | ||
<ion-list> | ||
<button ion-item *ngFor="let item of items" (click)="showDetail(item)" class="e2eSearchbarNavItem"> | ||
{{ item }} | ||
</button> | ||
</ion-list> | ||
</ion-content> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<ion-tabs #content> | ||
<ion-tab tabTitle="Schedule" tabIcon="star" [root]="searchPage"></ion-tab> | ||
<ion-tab tabTitle="Navigate" tabIcon="globe" [root]="mainPage"></ion-tab> | ||
</ion-tabs> |