Ionic infinite scroll with custom content

I want to show custom loader inside ionic infinite type

 <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
    <spinner [color]="'white'"></spinner>
  </ion-infinite-scroll>

But the problem is that then the spinner is always visible, since I see that infinite scrolling has a property stateand its changing content attribute with infinite scrolling to the value of the state property, and there is css that hides it.

My question is, did any body execute any custom spinners, or just a way to use a custom counter to use the css class?

So basically it looks like

enter image description here

+6
source share
1 answer

, .

+2

All Articles