brenoprata10 / ng2-image-viewer

Ng2-Image Viewer for Angular 2+ projects
https://brenoprata10.github.io/ng2-image-viewer/
MIT License
31 stars 60 forks source link

Doesn't work with Angular 7 #45

Closed MaccabeeY closed 4 years ago

MaccabeeY commented 4 years ago

This seemed like it would have been the 'king' library to use! Sadly, generates the following in Angular 7:

image

"this.viewer" is undefined

With this console error:

image

This is what gets rendered:

image

brenoprata10 commented 4 years ago

Could you send me line of code you are using to load the component?

MaccabeeY commented 4 years ago

I would normally be glad to but the project had to move forward and we had to move on to using another image viewer so I no longer have the original code we used with your library. I can suggest that we tried a variety of configurations and although some worked "better" than others, ultimately it would just not fully "play nicely" with Angular 7.

If I can help resolve this for you further, let me know...