Knob - avoid knob drag continuosly from max to min and min to max.



  • I would like to avoid knob drag from max value to min value. I mean stop drag value when max is reached.
    Currently if I drag, clockwise, very next to max, knob restart from 0. I’d like to stop it at max.
    In the same way if I drag, anticlockwise, very next to min, knob restart from max. I’d like to stop it at min.
    I trid to use@drag-value with no success.
    codepen

    Any ideas? Thank you


Log in to reply