• Resolved Tygo

    (@tygoo)


    Hi,

    I am trying to update the noUiSlider options through the code, but without success.
    What is the best way of doing this?

    The thing I am current doing is:
    var slider = document.querySelector(‘#gsfslider’ + fieldid);

    var curVal = $(‘#field_2_’ + val).val();
    slider.noUiSlider.updateOptions({
    padding: [0, curVal]
    });

  • The topic ‘Change noUiSlider options’ is closed to new replies.