17 Commits

Author SHA1 Message Date
91df5f97ee refactor(refresher): allow refresher content customization
Breaking Change:

## Refresher:

- `<ion-refresher>` now takes a child `<ion-refresher-content>`
component.
- Custom refresh content components can now be replaced for Ionic's
default refresher content.
- Properties `pullingIcon`, `pullingText` and `refreshingText` have
been moved to the `<ion-refresher-content>` component.
- `spinner` property has been renamed to `refreshingSpinner` and now
goes on the `<ion-refresher-content>` component.
- `refreshingIcon` property is no longer an input, but instead
`refreshingSpinner` should be used.

Was:

```
<ion-refresher (refresh)="doRefresh($event)"
pullingIcon="arrow-dropdown">
</ion-refresher>
```

Now:

```
<ion-refresher (refresh)="doRefresh($event)">
  <ion-refresher-content
pullingIcon="arrow-dropdown"></ion-refresher-content>
</ion-refresher>
```
2016-02-27 17:33:59 -06:00
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
b752432ef1 refactor(pull-to-refresh): rename the starting event to start
updated docs to reflect new name and renamed an internal function

BREAKING CHANGE: starting event no longer exists, must use start

References #5207
2016-02-17 12:29:30 -05:00
acf1894b75 refactor(pull-to-refresh): emit starting event and change all events to emit the refresher
Cleaned up the API docs for scroll and test also.

References #5207
2016-02-16 14:34:02 -05:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
e4b200639e fix(scroll): canOverscroll was set to false which prevented PTR from ever working
It’s still finishing the PTR before the complete is called though

References #5207
2016-01-26 18:55:27 -05:00
46fc56fb95 Fix(demo): Remove ion-view from demos for scoll (basic, pull-to-refresh) and tabs (tab-bar-bottom) 2015-10-02 14:10:05 -06:00
40fc77b0b6 App annotation/mode attribute 2015-07-08 14:05:37 -05:00
083df1a482 Working PTR 2015-07-06 08:34:52 -05:00
6b11bfb801 wip 2015-07-05 17:57:10 -05:00
b3e867a772 PTR 2015-07-04 10:45:42 -05:00
5deb8eb40b Only to be lost 2015-07-03 14:55:13 -05:00
a245bc2a02 Back to some semblance of sanity 2015-07-03 14:54:25 -05:00
5a28d6d55e update toolbar 2015-07-03 14:27:12 -05:00
eaf6746034 Scroll 2015-07-03 13:39:11 -05:00
1ae3113386 let there be typescript 2015-07-03 13:19:30 -05:00
c447282ce5 feat(scroll): ion-scroll 2015-07-02 16:50:43 -05:00