tobii icon indicating copy to clipboard operation
tobii copied to clipboard

Support for multiple lightbox instances.

Open ABackw opened this issue 3 years ago • 7 comments

Old rqrauhvmra tobi-library worked with multiple instances. Why the support has been dropped?

Would it be possible to add a guid to class names (or as a user defined classname as input parameter) instead of hard coded names so the lightbox would work if there are multiple instances of it.

ABackw avatar Aug 24 '22 09:08 ABackw

@ABackw What is the benefit of having multiple tobii instances? Whats a use case to allow them?

midzer avatar Dec 26 '22 12:12 midzer

@midzer I have multiple gallerys on my page, and I would like to only show a set of images when lightbox opened.

kallaviktor avatar Apr 05 '23 17:04 kallaviktor

You can use different groups, so even on 1 lightbox instance, users will see 2 galleries.

viliusle avatar Apr 05 '23 18:04 viliusle

Thank you, I have not noted this group option.

kallaviktor avatar Apr 06 '23 20:04 kallaviktor

Is this issue solved for you, @ABackw @kallaviktor?

midzer avatar Jun 13 '23 17:06 midzer

Is this issue solved for you, @ABackw @kallaviktor?

Yes, I didn't come up with any benefits of multiple instances other than easier migration from the old version. That's not good enough reason. I'm fine with current state of things.

ABackw avatar Jun 16 '23 07:06 ABackw