Simple pure Javascript drag controller slider

前端 未结 2 577
情深已故
情深已故 2021-02-01 09:32

Hi Developers all over the world.

I would like to have some help with a simple, pure Javascript (30 lines), JQuery free (and other library\'s)

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 10:30

    Take a look at DragDealer.js: https://skidding.github.io/dragdealer/

    There's an example of changing opacity of an image based on the value of a slider here.

    Hope this helps!

提交回复
热议问题