nativescript-carousel-view icon indicating copy to clipboard operation
nativescript-carousel-view copied to clipboard

Getting issue while integrating with Angular2

Open mohitgorakhiya opened this issue 8 years ago • 6 comments
trafficstars

Hi,

I have downloaded this code and it is useful for Page Control like in iOS. This project is with JS but I want with Typescript+ Angular2. I have created 1 demo and try to integrate this plugin. But I am getting "this.itemsSource.getItem is not a function" error every time. Here I have also uploaded my Demo. carouselDemo.zip

Please help me for this where I am doing wrong.

mohitgorakhiya avatar Mar 21 '17 05:03 mohitgorakhiya

take a look at this thread https://github.com/alexrainman/nativescript-carousel-view/issues/12

alexrainman avatar Mar 21 '17 12:03 alexrainman

Thanks for your reply. I have checked that thread and put register element line in main.ts for carousel but getting same error. In My First comment I have also uploaded my code. So if possible can you make changes in my code and send me that code? Or if you have any working code with Angular2 then send me that one?

mohitgorakhiya avatar Mar 21 '17 14:03 mohitgorakhiya

I will take a look as soon as i can. Also, i may work on a new version. Thanks

alexrainman avatar Mar 21 '17 14:03 alexrainman

Ok fine. Thanks.

mohitgorakhiya avatar Mar 21 '17 14:03 mohitgorakhiya

Hey @alexrainman, any progress on this? I want to use nativescript-corousel-view in NG but it seem the ITemplateSelector is not being called :-(

slolam avatar Oct 30 '17 04:10 slolam

I have been busy lately and all my plugins are kind of abandoned. Will try to update this plugin soon.

alexrainman avatar Oct 30 '17 04:10 alexrainman