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(); }); 

http://refreshless.com/nouislider/events-callbacks/


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -