For AMD, lightbox is registered as an anonymous module. How can I set the lightbox options?
Just call option on the module you get when you load Lightbox:
option
require(['lightbox'], function (lightbox) { lightbox.option({ 'resizeDuration': 100, }); });
Just call
option
on the module you get when you load Lightbox: