mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user