Emitting value after clicking range track.

This commit is contained in:
DebaucheryLibrarian
2021-03-03 14:50:02 +01:00
parent abe56d1207
commit cf4978b37f

View File

@@ -79,6 +79,7 @@ function setNearest(event) {
const closestSlider = Math.abs(this.valueA - closestValue) < Math.abs(this.valueB - closestValue) ? 'valueA' : 'valueB';
this[closestSlider] = closestValue;
this.emit();
}
}