开发者

how to stop 3d carousel on mouse click event

开发者 https://www.devze.com 2022-12-14 19:03 出处:网络
I use 3d carousel of http://interface.eyecon.ro/demos/carousel.html Anyone开发者_如何学运维 suggest me how can i stop this carousel on mouse click event with fix position?Use stopImmediatePropagation(

I use 3d carousel of http://interface.eyecon.ro/demos/carousel.html Anyone开发者_如何学运维 suggest me how can i stop this carousel on mouse click event with fix position?


Use stopImmediatePropagation()


You could possibly reset the rotation timer. Something like:

clearInterval(rotationTimer)

or perhaps

clearInterval(el.carouselCfg.rotationTimer)
0

精彩评论

暂无评论...
验证码 换一张
取 消