@ardium-ui/ui 5.0.0-alpha.82 → 5.0.0-alpha.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11934,6 +11934,9 @@ class _AbstractSlider extends _NgModelComponentBase {
|
|
|
11934
11934
|
let newPercent = this._handlePositions()[handleId - 1] + stepSize * offset;
|
|
11935
11935
|
newPercent = this._clampPercentValue(newPercent);
|
|
11936
11936
|
this._setValueFromPercent(newPercent);
|
|
11937
|
+
if (this.emitTouchedOnEveryChange()) {
|
|
11938
|
+
this._emitTouched();
|
|
11939
|
+
}
|
|
11937
11940
|
}
|
|
11938
11941
|
_decrement(event, forceShift = false) {
|
|
11939
11942
|
this._offset(-1, forceShift || event.shiftKey);
|
|
@@ -11972,6 +11975,9 @@ class _AbstractSlider extends _NgModelComponentBase {
|
|
|
11972
11975
|
onPointerUp() {
|
|
11973
11976
|
if (!this._shouldCheckForMovement)
|
|
11974
11977
|
return;
|
|
11978
|
+
if (this.emitTouchedOnEveryChange()) {
|
|
11979
|
+
this._emitTouched();
|
|
11980
|
+
}
|
|
11975
11981
|
this._grabbedHandleId.set(null);
|
|
11976
11982
|
this._shouldCheckForMovement = false;
|
|
11977
11983
|
if (this._bodyHasClass) {
|
|
@@ -11986,9 +11992,6 @@ class _AbstractSlider extends _NgModelComponentBase {
|
|
|
11986
11992
|
return;
|
|
11987
11993
|
this._value.set(this._percentValueToValue(percent, handleId));
|
|
11988
11994
|
this._emitChange();
|
|
11989
|
-
if (this.emitTouchedOnEveryChange()) {
|
|
11990
|
-
this._emitTouched();
|
|
11991
|
-
}
|
|
11992
11995
|
}
|
|
11993
11996
|
_writeValueFromEvent(event, handleId) {
|
|
11994
11997
|
const percent = this._getPercentValueFromEvent(event);
|