s-yadav / iv-viewer

A zooming and panning plugin inspired by google photos for your web images.
MIT License
450 stars 163 forks source link

Uncaught ReferenceError: FullScreenViewer is not defined #78

Closed csandreas1 closed 3 years ago

csandreas1 commented 4 years ago

I use the standalone UMD build by including dist/iv-viewer.js and dist/iv-viewer.css in your page.

However when i call const viewer = new FullScreenViewer(); i get : Uncaught ReferenceError: FullScreenViewer is not defined

timhuangt commented 4 years ago

try this:

viewer = new ImageViewer.FullScreenViewer();

shaon-hossain45 commented 3 years ago

It's working --- thanks...