docs(infinite-scroll): update infinite scroll readme files and usage

This commit is contained in:
Brandy Carney
2018-07-05 18:09:58 -04:00
parent e304db0d45
commit 8555acb397
5 changed files with 20 additions and 24 deletions

View File

@ -1,7 +1,6 @@
# ion-infinite-scroll-content
InfiniteScrollContent is a component that adds the content to InfiniteScroll.
You can loading icon or loading text with the component's properties.
The `ion-infinite-scroll-content` component is the default child used by the `ion-infinite-scroll`. It displays an infinite scroll spinner that looks best based on the platform and changes the look depending on the infinite scroll's state. The default spinner can be changed and text can be added by setting the `loadingSpinner` and `loadingText` properties.
<!-- Auto Generated Below -->

View File

@ -0,0 +1,10 @@
```html
<ion-content>
<ion-infinite-scroll>
<ion-infinite-scroll-content
loadingSpinner="bubbles"
loadingText="Loading more data…">
</ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>
```

View File

@ -2,8 +2,8 @@
<ion-content>
<ion-infinite-scroll>
<ion-infinite-scroll-content
loadingSpinner="bubbles"
loadingText="Loading more data…">
loading-spinner="bubbles"
loading-text="Loading more data…">
</ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>