ui.slider with multiple handles - differents change-event for each handle

ui.slider with multiple handles - differents change-event for each handle

hello,

i have implementend a range slider with two handles and i need two separate change-event for the two handles.

how can i detect by change or slide event what handle is currently moved?

Example:
if handle1 is moved, then run function1
if handle2 is moved, then run function2

thanks for any suggestion
marco