docs(breaking): add a section on the spinner name change

This commit is contained in:
Brandy Carney
2018-03-20 12:57:44 -04:00
parent b49e9eb027
commit d3105d1a76

View File

@@ -23,6 +23,7 @@ A list of the breaking changes introduced in Ionic Angular v4.
- [Range](#range)
- [Segment](#segment)
- [Select](#select)
- [Spinner](#spinner)
- [Text/Typography](#text-typography)
- [Theming](#theming)
- [Toolbar](#toolbar)
@@ -831,6 +832,29 @@ this.customOptions = {
};
```
## Spinner
### Name Changed
The `ios` and `ios-small` spinner's have been renamed to `lines` and `lines-small`, respectively. This also applies to any components that use spinner: `ion-loading`, `ion-infinite-scroll`, `ion-refresher`.
**Old Usage Example:**
```html
<ion-spinner name="ios"></ion-spinner>
<ion-spinner name="ios-small"></ion-spinner>
```
**New Usage Example:**
```html
<ion-spinner name="lines"></ion-spinner>
<ion-spinner name="lines-small"></ion-spinner>
```
## Text / Typography
### Markup Changed