alexrainman / nativescript-carousel-view

CarouselView plugin for NativeScript
MIT License
16 stars 5 forks source link

Getting issue while integrating with Angular2 #17

Open mohitgorakhiya opened 7 years ago

mohitgorakhiya commented 7 years ago

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.

alexrainman commented 7 years ago

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

mohitgorakhiya commented 7 years ago

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?

alexrainman commented 7 years ago

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

mohitgorakhiya commented 7 years ago

Ok fine. Thanks.

slolam commented 7 years ago

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

alexrainman commented 7 years ago

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