Fill out this form or call us directly
and one of our experts will get in touch with you as quickly as possible.
Sign Up For Our Newsletter Today
Please fill out this form if you would like to receive our Word On The Street newsletter.
console.log("wheel.js loaded ✅");
(function () {
/* -------------------------
* SAFE INITIALIZER LAYER
* ------------------------- */
function initWheel(root) {
// Prevent double init (Slider Rev often re-renders / re-inserts)
if (!root || root.dataset.wheelInit === "true") return;
root.dataset.wheelInit = "true";
/* -------------------------
* FIND ELEMENTS (scoped to this wheel instance)
* ------------------------- */
// "overlay" optional — only used if you want to toggle visibility class
const overlay = root.querySelector(".sr-wheelOverlay") || root;
// Rotor is REQUIRED (the thing we rotate)
const rotor =
root.querySelector(".sr-wheelRotor") ||
root.querySelector("#srWheelRotor");
// Spin trigger(s): you can click the wheel wrapper OR the visible button
// - .sr-wheelSpin can be a