lukasz-galka / ngx-gallery

Angular image gallery plugin
https://lukasz-galka.github.io/ngx-gallery-demo/
MIT License
436 stars 171 forks source link

Close image preview programatically #319

Open bertwinromero opened 4 years ago

bertwinromero commented 4 years ago

How to close image preview programatically inside a component?

@ViewChild('imagesGallery')
 imagesGallery: NgxGalleryComponent;

something like

this.imagesGallery.close() -> but this method does not exist on NgxGalleryComponent

bertwinromero commented 4 years ago

It's kinda weird that there's a way to open it programmatically but can't be closed programmatically.

tigrenok00 commented 3 years ago

+1 Anybody find a solution?