Change Jquery Knob Min/max Value
I'm working on an angular wrapper for the jquery-knob widget. The following works as long as the maximum value doesn't change. If it does, the ng-model binding is lost. If I don't
Solution 1:
Using trigger('configure')
followed by trigger('change')
should do the trick
$(elem).trigger('configure', {
'max': scope.maxbinding[scope.maxbindingprop];
});
$(elem).trigger('change');
Post a Comment for "Change Jquery Knob Min/max Value"