@ts-core/angular 13.1.31 → 13.1.32
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.
|
@@ -2964,14 +2964,16 @@ class ScrollCheckDirective extends DestroyableContainer {
|
|
|
2964
2964
|
let value = this.scrollValue >= this.scrollLimit;
|
|
2965
2965
|
if (value !== this.isExceedLimit) {
|
|
2966
2966
|
this.isExceedLimit = value;
|
|
2967
|
-
this.limitExceed.emit(
|
|
2967
|
+
this.limitExceed.emit(value);
|
|
2968
2968
|
}
|
|
2969
2969
|
value = this.scrollValue + this.clientHeight + this.offset > this.scrollHeight;
|
|
2970
|
-
if (value
|
|
2970
|
+
if (value !== this.isBottom) {
|
|
2971
|
+
this.isBottom = value;
|
|
2971
2972
|
this.bottom.next(value);
|
|
2972
2973
|
}
|
|
2973
2974
|
value = this.scrollValue < this.offset;
|
|
2974
|
-
if (value
|
|
2975
|
+
if (value !== this.isTop) {
|
|
2976
|
+
this.isTop = value;
|
|
2975
2977
|
this.top.next(value);
|
|
2976
2978
|
}
|
|
2977
2979
|
};
|