I wanted to use this solution.
But I do not know how to import the javascript file into the ionic project.
Which pasture should I add?
Can I use npm install to install?
Is it possible to transform this controller.js to control ts?
Thank you LoLStats for your attention.
I need to make a list that loads images on demand using infinite scroll.
I searched the internet is the only way I found was using this .js file.
As I’m very new to Ionic technology I’m kind of lost on how to make this example work.
I’m wearing both. In firebase storage is the image. In the database I have a node with several information is one of them and the path of the image.
I’m loading this into an ion-card list. I am worried that there will be several publications and be slow. That’s why I wanted to charge on demand. In fact this screen will have a functionality similar to facebook.
Okay good.
So you can use angularfire2 for firebase DB. You can create queries to receive the first 10 items for example and then lazy load the next 10 with Ionics InfiniteScroll API.