We're always looking for dynamic individuals to join our growing team. Fill out this form and if you're a potential fit, we will get in touch to schedule an in-person meeting.
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