mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
docs(infinite-scroll): update infinite scroll readme files and usage
This commit is contained in:
@ -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 -->
|
||||
|
||||
|
10
core/src/components/infinite-scroll-content/usage/angular.md
Normal file
10
core/src/components/infinite-scroll-content/usage/angular.md
Normal 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>
|
||||
```
|
@ -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>
|
||||
|
Reference in New Issue
Block a user