Portfolio
/*--------------------
Vars
--------------------*/
/*--------------------
Constants
--------------------*/
const autoSlideSpeed = 0.1; // SLOWER auto-slide speed
/*--------------------
Get Z
--------------------*/
/*--------------------
Items
--------------------*/
/*--------------------
Animate
--------------------*/
/*--------------------
Auto-Slide Function
--------------------*/
if (progress >= 100) progress = 0; // Loop back to start
}, 100); // update every 100ms
/*--------------------
Click on Items
--------------------*/
/*--------------------
Desktop Mouse Handlers
--------------------*/
/*--------------------
Touch Handlers
--------------------*/
e.preventDefault(); // allow smooth dragging
/*--------------------
Event Listeners
--------------------*/
/*--------------------
Hover Events (Pause/Resume Auto-Slide)
--------------------*/
/*--------------------
Start Auto-Slide Initially
--------------------*/
//
