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 - ScrollTo Effect (href to div) -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -

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