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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -