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
am using your plugin on a site of mine and everything works fine so far (great suite!) but there is one issue / quetsion I am facing:
How can I (globally) set the plugin's setting to not select any images by default and only work with what I am providing?
By default, the zoom is applied to all scaled images (with HTML or CSS properties). You can specify the zoomable images with a CSS selector and add options.
Specyfing zoomable images only adds to the default selection, at least when I tried...
`SUPPORTED_FORMATS` is now only applied when the plugin is given no selector (#7).
Handle NodeLists, HTMLCollections and Nodes better. Remove default
support for SVG tags that don't support `naturalWidth` (#8).
Hi there,
am using your plugin on a site of mine and everything works fine so far (great suite!) but there is one issue / quetsion I am facing:
How can I (globally) set the plugin's setting to not select any images by default and only work with what I am providing?
Specyfing zoomable images only adds to the default selection, at least when I tried...
mediumZoom(document.querySelectorAll('[data-action="zoom"]'));
Thanks for any input on how to achieve this!
EDIT: Might be connected to #7 since it is triggering on my SVG? No
tag as parent or anywhere near that SVG though...
<svg id="open-slash" data-name="open-slash" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9.08 13.28" class="medium-zoom-image"><path class="slash" d="M148.58,282.81h-1.16l7.91-13.28h1.16Z" transform="translate(-147.41 -269.53)"></path></svg>
The text was updated successfully, but these errors were encountered: