You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to trigger the overlay from different elements and with attributes other than just href. For example, I'd like to open the overlay with this button: <button data-src="my-image.jpg">Show Overlay</button>.
I think this could be achieved without much code and without BC breaks by adding two configuration options triggerSelector and srcAttribute which would default to a and href, respectively.
The text was updated successfully, but these errors were encountered:
I would like to trigger the overlay from different elements and with attributes other than just
href
. For example, I'd like to open the overlay with this button:<button data-src="my-image.jpg">Show Overlay</button>
.I think this could be achieved without much code and without BC breaks by adding two configuration options
triggerSelector
andsrcAttribute
which would default toa
andhref
, respectively.The text was updated successfully, but these errors were encountered: