Closed dharmeshds closed 3 years ago
Hi! You should start with an empty array and then fill it (reassigning the array, not simply pushing to objects) in a rxjs subscribe or something similar. Don't use the "| async" and be sure to pass always Image class instances, created via new Image(...).
I never used Ionic, feel free to share a full minimal demo with a Github repo. I can add it to the library as official Ionic example.
I close the issue. If this is still an issue, feel free to re-open it.
I'm submitting a...
Current behavior
I'm trying to use the carousel component in my Ionic5/Angular11 app, filling the images array thru an async function that gets the images as Blobs from an api and in case there are no images to fetch it should show the noimage.png from assets folder. , I end up getting several binding errors below at runtime, which I can't figure to solve..
The image object created by the function seems to fine as per your documentation as below;
Expected behavior
My requirement is to get the images blob array from an external api and populate the [images] array thru an async method.
Minimal reproduction of the problem with instructions