fix(refresher): default to disabled false, add to breaking changes

also updates the preview demo to add to the top of the list on pull to
refresh

fixes #14879
This commit is contained in:
Brandy Carney
2018-07-26 16:20:17 -04:00
parent 0db643df45
commit f1826a6efc
19 changed files with 129 additions and 23 deletions

View File

@@ -42,6 +42,7 @@ A list of the breaking changes introduced to each component in Ionic Angular v4.
- [Overlays](#overlays)
- [Radio](#radio)
- [Range](#range)
- [Refresher](#refresher)
- [Segment](#segment)
- [Select](#select)
- [Spinner](#spinner)
@@ -1041,6 +1042,27 @@ These have been renamed to the following:
```
## Refresher
The `enabled` property (with a default value of `true`) has been renamed to `disabled` (with a default value of `false`).
**Old Usage Example:**
```html
<ion-refresher enabled="false">
...
</ion-refresher>
```
**New Usage Example:**
```html
<ion-refresher disabled="true">
...
</ion-refresher>
```
## Segment
The markup hasn't changed for Segments, but now writing `<ion-segment-button>` will render a native button element inside of it.