javascript - Execute function after the user finishes using the slider -
i want execute function after user has finished using slider , not while slider being manipulated.
only after handle stops, start function. remember doing using settimeout , cleartimer don't remember how exactly.
$('#slider').on('slide', function(){ some_function(); });
note using nouislider , not jquery.
looks me want callback on set
event, occurs when user stops sliding.
$('#slider').on('set', function(){ some_function(); });
Comments
Post a Comment