We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<ion-content> <ion-virtual-scroll #container [items]="images" approxItemHeight="320px"> <ion-card *virtualItem="let image; let itemBounds = bounds;let i=index;"> <div> <img [defaultImage]="test" [lazyLoad]="image" [errorImage]="def" /> </div> <ion-card-header> <ion-card-title>Index{{i}}</ion-card-title> </ion-card-header> <ion-card-content>Index{{i}}</ion-card-content> </ion-card> </ion-virtual-scroll> </ion-content>
whatever scroll, the image always only show the [defaultImage]
The text was updated successfully, but these errors were encountered:
<ion-content [scrollEvents]=true #container> ... <img [defaultImage]="test" [lazyLoad]="image" [errorImage]="def" [customObservable]="container.ionScroll"/> ... </ion-content>
the scroll event only can be emitted, when ion-content set [scrollEvents]=true.
Ionic 5 disabled ion-content scroll event, it's different from the previous version.
Sorry, something went wrong.
No branches or pull requests
whatever scroll, the image always only show the [defaultImage]
The text was updated successfully, but these errors were encountered: