mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(breaking): add a section on the spinner name change
This commit is contained in:
24
BREAKING.md
24
BREAKING.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user