ion-infinite-scroll-content
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.
React#
The ion-infinite-scroll-content component is not supported in React.
Usage#
- ANGULAR
- JAVASCRIPT
- STENCIL
- VUE
Properties#
loadingSpinner#
| Description | An animated SVG spinner that shows while loading. |
| Attribute | loading-spinner |
| Type | "bubbles" \| "circles" \| "circular" \| "crescent" \| "dots" \| "lines" \| "lines-sharp" \| "lines-sharp-small" \| "lines-small" \| null \| undefined |
| Default | undefined |
loadingText#
| Description | Optional text to display while loading.loadingText can accept either plaintext or HTML as a string.To display characters normally reserved for HTML, they must be escaped. For example <Ionic> would become<Ionic>For more information: Security Documentation |
| Attribute | loading-text |
| Type | IonicSafeString \| string \| undefined |
| Default | undefined |