Riron / ionic-img-viewer

Ionic 2+ component providing a Twitter inspired experience to visualize pictures.
MIT License
283 stars 118 forks source link

Not able to add in ionic2.0 #7

Closed tripathi-swapnil closed 8 years ago

tripathi-swapnil commented 8 years ago

How to use this directive. Added in declarations: [...] but not ale ti get on respective page ?

If you have any demo code or suggestion . Please share.

antonioloiaconodev commented 8 years ago

it's true! I have the same problem too. I entered in "decleration" Directive but does not work. I use ionic 2.0 RC0. Help me

danielehrhardt commented 8 years ago

same here

Riron commented 8 years ago

Sorry about that, the README has been updated with up to date instructions.

imanube commented 7 years ago

Where do you import it for @ngModule? is it the file app.module.ts? and if it is, i keep getting an error

Error: Can't resolve all parameters for ImageViewerComponent: (GestureController, ElementRef, NavController, NgZone, Renderer, ?, Platform, NavParams, Config, DomSanitizer). any ideas?

Riron commented 7 years ago

Please open a new issue if you experience a problem - and make sure you use the right version of ionic-img-viewer for your version of ionic-angular (eg: ionic-img-viewer 1.3.2 is for ionic-angular ^2.2.0). Thanks.