-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use custom gallery config while using the lightbox #104
Comments
Hi @JBeater, You can change the global config GalleryModule.forRoot(config) Or you can set a custom config to a gallery on initializing let newGalleryRef = this.gallery.ref('single-image-gallery', config) But if let galleryRef = this.gallery.ref('single-image-gallery');
galleryRef.setConfig(config); |
I tried it.
But it still using global config instead of local :( |
@JBeater Can you reproduce it in this stackbltiz |
@MurhafSousli here: try it! |
Now I see, the lightbox is resetting the gallery ref config |
Hi, i use in my project ng-gallery in some components. The problem is with config ... i cant set up specific config for gallery-ref, it still using global.
I try both ways:
Config look like:
But it not work. Am I doing something wrong or is there a bug?
For info: Angular version 6.
The text was updated successfully, but these errors were encountered: