File tree Expand file tree Collapse file tree 16 files changed +88
-55
lines changed Expand file tree Collapse file tree 16 files changed +88
-55
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export class Animation {
68
68
var i : number ;
69
69
70
70
if ( ele ) {
71
- if ( Array . isArray ( ele ) ) {
71
+ if ( ele . length ) {
72
72
for ( i = 0 ; i < ele . length ; i ++ ) {
73
73
this . _addEle ( ele [ i ] ) ;
74
74
}
Original file line number Diff line number Diff line change 18
18
</ button >
19
19
</ ion-navbar >
20
20
21
- < ion-toolbar >
21
+ < ion-toolbar no-border-top >
22
22
< ion-title > I'm a toolbar</ ion-title >
23
23
</ ion-toolbar >
24
24
Original file line number Diff line number Diff line change 1
1
< ion-header >
2
2
3
- < ion-navbar >
3
+ < ion-navbar no-border-bottom >
4
4
< ion-title > Page 2</ ion-title >
5
5
< button menuToggle >
6
6
< ion-icon name ="menu "> </ ion-icon >
15
15
</ button >
16
16
</ ion-navbar >
17
17
18
- < ion-toolbar >
19
- < ion-title > I'm a toolbar </ ion-title >
18
+ < ion-toolbar no-border-top >
19
+ Hello, I am a sub header, with no border on top
20
20
</ ion-toolbar >
21
21
22
22
</ ion-header >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ $z-index-refresher: 0;
15
15
$z-index-page-container : 0 ;
16
16
$z-index-selected-tab : 1 ;
17
17
$z-index-toolbar : 10 ;
18
- $z-index-toolbar-background : 0 ;
18
+ $z-index-toolbar-background : -1 ;
19
19
20
20
$z-index-backdrop : 2 ;
21
21
$z-index-overlay-wrapper : 10 ;
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ class ModalPassData {
188
188
<ion-title>Toolbar 1</ion-title>
189
189
</ion-toolbar>
190
190
191
- <ion-toolbar>
191
+ <ion-toolbar no-border-top >
192
192
<ion-title>Toolbar 2</ion-title>
193
193
</ion-toolbar>
194
194
</ion-header>
Original file line number Diff line number Diff line change @@ -209,6 +209,9 @@ class FullPage {
209
209
<button>S1g</button>
210
210
</ion-buttons>
211
211
</ion-navbar>
212
+ <ion-toolbar no-border-top>
213
+ <ion-title>I'm a sub header!</ion-title>
214
+ </ion-toolbar>
212
215
</ion-header>
213
216
214
217
<ion-content padding>
@@ -227,8 +230,11 @@ class FullPage {
227
230
</ion-content>
228
231
229
232
<ion-footer>
230
- <ion-toolbar>
231
- Footer
233
+ <ion-toolbar no-border-bottom>
234
+ I'm a sub footer!
235
+ </ion-toolbar>
236
+ <ion-toolbar no-border-top>
237
+ <ion-title>Footer</ion-title>
232
238
</ion-toolbar>
233
239
</ion-footer>
234
240
`
@@ -281,6 +287,11 @@ class PrimaryHeaderPage {
281
287
</ion-header>
282
288
283
289
<ion-content>
290
+
291
+ <ion-toolbar no-border-top>
292
+ I'm a sub header in the content!
293
+ </ion-toolbar>
294
+
284
295
<ion-list>
285
296
286
297
<ion-item>
@@ -296,7 +307,17 @@ class PrimaryHeaderPage {
296
307
<button ion-item (click)="setRoot()">setRoot(FirstPage)</button>
297
308
<button ion-item (click)="toggleBackButton()">Toggle hideBackButton</button>
298
309
<button ion-item (click)="setBackButtonText()">Set Back Button Text</button>
310
+ <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>
299
311
</ion-list>
312
+
313
+ <ion-toolbar no-border-bottom>
314
+ I'm a sub footer in the content!
315
+ </ion-toolbar>
316
+
317
+ <ion-toolbar no-border-bottom no-border-top>
318
+ And I'm a sub footer in the content too!
319
+ </ion-toolbar>
320
+
300
321
</ion-content>
301
322
302
323
<ion-footer>
Original file line number Diff line number Diff line change 1
1
< ion-header >
2
2
3
- < ion-navbar >
3
+ < ion-navbar no-border-bottom >
4
4
< ion-title > Searchbar</ ion-title >
5
5
</ ion-navbar >
6
6
7
- < ion-toolbar >
7
+ < ion-toolbar no-border-top >
8
8
< ion-searchbar primary (ionInput) ="getItems($event) " placeholder ="Filter Schedules ">
9
9
</ ion-searchbar >
10
10
</ ion-toolbar >
Original file line number Diff line number Diff line change 1
1
< ion-header >
2
2
3
- < ion-toolbar >
3
+ < ion-toolbar no-border-bottom >
4
4
< ion-segment id ="segment " [(ngModel)] ="relationship " (ionChange) ="onSegmentChanged($event) ">
5
5
< ion-segment-button value ="friends " (ionSelect) ="onSegmentSelected($event) " class ="e2eSegmentFriends ">
6
6
Friends
11
11
</ ion-segment >
12
12
</ ion-toolbar >
13
13
14
- < ion-toolbar >
14
+ < ion-toolbar no-border-top >
15
15
< ion-buttons end >
16
16
< button >
17
17
< ion-icon name ="search "> </ ion-icon >
@@ -117,7 +117,7 @@ <h4>Model style: NgModel</h4>
117
117
</ ion-segment >
118
118
</ ion-toolbar >
119
119
120
- < ion-toolbar >
120
+ < ion-toolbar no-border-top no-border-bottom >
121
121
< ion-segment [(ngModel)] ="appType " danger >
122
122
< ion-segment-button value ="paid ">
123
123
Default
@@ -131,7 +131,7 @@ <h4>Model style: NgModel</h4>
131
131
</ ion-segment >
132
132
</ ion-toolbar >
133
133
134
- < ion-toolbar >
134
+ < ion-toolbar no-border-top >
135
135
< ion-segment [(ngModel)] ="appType " dark [disabled] ="isDisabled ">
136
136
< ion-segment-button value ="paid ">
137
137
Default
Original file line number Diff line number Diff line change 1
1
< ion-header >
2
2
3
- < ion-navbar >
3
+ < ion-navbar no-border-bottom >
4
4
< ion-title >
5
5
Segment under Navbar
6
6
</ ion-title >
7
7
</ ion-navbar >
8
8
9
- < ion-toolbar >
9
+ < ion-toolbar no-border-top >
10
10
< ion-segment [(ngModel)] ="signInType ">
11
11
< ion-segment-button value ="new ">
12
12
New
Original file line number Diff line number Diff line change 1
1
< ion-header >
2
2
3
- < ion-navbar >
3
+ < ion-navbar no-border-bottom >
4
4
< ion-title >
5
5
Segment Swipeable under Navbar
6
6
</ ion-title >
7
7
</ ion-navbar >
8
8
9
- < ion-toolbar >
9
+ < ion-toolbar no-border-top >
10
10
< ion-segment [(ngModel)] ="selectedSegment " (ionChange) ="onSegmentChanged($event) ">
11
11
< ion-segment-button value ="first ">
12
12
First
You can’t perform that action at this time.
0 commit comments