forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.html
More file actions
34 lines (22 loc) · 803 Bytes
/
page.html
File metadata and controls
34 lines (22 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<ion-header>
<ion-navbar no-border-bottom>
<ion-title>Searchbar</ion-title>
</ion-navbar>
<ion-toolbar no-border-top>
<ion-searchbar placeholder="Filter Items" (ionInput)="filterItems($event)"></ion-searchbar>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-searchbar placeholder="Filter Items with Cancel" showCancelButton color="danger" (ionInput)="filterItems($event)"></ion-searchbar>
<p padding-left padding-right>Searchbars can be placed in a toolbar or anywhere in the content.</p>
<ion-list>
<ion-item *ngFor="let item of items">
{{ item }}
</ion-item>
</ion-list>
</ion-content>
<ion-footer>
<ion-toolbar color="danger">
<ion-searchbar placeholder="Search" (ionInput)="filterItems($event)"></ion-searchbar>
</ion-toolbar>
</ion-footer>