2 lists with infinity scroll

Hi everybody.
I’m an ionic beginner and i have the following problem. I have used two ion-infinity-scrolls and I would need the scrolls to work on each list separately. It is possible?
I found an example of where it works. https://codepen.io/priand/pen/PzYbZG
but I can’t rewrite it in TS.

I’m sorry for my English and thank you for advice.

My code:




To make it available for others to search for your question. Kindly just copy-paste your code, instead of taking a screenshot of it.

Sorry. I copied the html code but it was displayed incorrectly.