So I have some <input type="range">
elements that I need to know if the value is increasing or decreasing while the user is dragging the range slider. So far all I've been able to find/implement are things that use when a user first touches or releases the slider and compare the current changing value to that last number, but that won't work because it can't compensate for when the user is still dragging.
Is there a way to achieve this using just JS math?