# ultimate-store-kit/3.1.2/assets/js/widgets/image-hotspot.js

Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder, version 3.1.2. 1 lines.

- Page: https://pluginprobe.com/plugins/ultimate-store-kit/3.1.2/code/assets/js/widgets/image-hotspot.js
- Raw: https://pluginprobe.com/plugins/ultimate-store-kit/3.1.2/raw/assets/js/widgets/image-hotspot.js
- Modified: 2026-09-07T10:03:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ultimate-store-kit/3.1.2/code/assets/js/widgets/image-hotspot.js#L10-L20`.

```javascript
!function(){"use strict";var t=function(t,e){var n=t.find(".usk-image-hotspot"),i=n.data("settings");if(n.length){if("slider"===i.image_hotspot_layout){var o=n.find(".usk-image-hotspot-thumbs");const s=elementorFrontend.utils.swiper;async function a(){var t=await new s(o,i),e=n.find(".usk-image-hotspot-main");await new s(e,{slidesPerView:1,effect:i.sliderEffect,fadeEffect:{crossFade:!0},thumbs:{swiper:t}})}a()}n.find(".bdt-tippy-tooltip").each(function(t){tippy(this,{allowHTML:!0,interactive:!0,theme:"bdt-tippy-"+i.id,appendTo:document.body})})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/usk-image-hotspot.default",t)})}(jQuery,window.elementorFrontend);
```
