ng-virtual-list 20.10.15 → 20.10.16
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.
|
@@ -4538,9 +4538,9 @@ class NgVirtualListComponent {
|
|
|
4538
4538
|
maxBufferSize = input(DEFAULT_MAX_BUFFER_SIZE, ...(ngDevMode ? [{ debugName: "maxBufferSize", ...this._maxBufferSizeTransform }] : [{ ...this._maxBufferSizeTransform }]));
|
|
4539
4539
|
_snappingMethodOptions = {
|
|
4540
4540
|
transform: (v) => {
|
|
4541
|
-
const valid = validateString(v) && (v ===
|
|
4541
|
+
const valid = validateString(v) && (v === SnappingMethods.NORMAL || v === SnappingMethods.ADVANCED || v === SnappingMethods.CHAT);
|
|
4542
4542
|
if (!valid) {
|
|
4543
|
-
console.error(
|
|
4543
|
+
console.error(`The "snappingMethod" parameter must have the value '${SnappingMethods.NORMAL}', '${SnappingMethods.ADVANCED}' or '${SnappingMethods.CHAT}'.`);
|
|
4544
4544
|
return DEFAULT_SNAPPING_METHOD;
|
|
4545
4545
|
}
|
|
4546
4546
|
return v;
|