We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29b91ec commit 8c714d5Copy full SHA for 8c714d5
src/ui-scroll.js
@@ -427,6 +427,9 @@ angular.module('ui.scroll', [])
427
const setIsLoading = $attr.isLoading ? $parse($attr.isLoading).assign : angular.noop;
428
let disabled = false;
429
430
+ if ($attr.adapter)
431
+ $parse($attr.adapter).assign(viewportScope, this);
432
+
433
Object.defineProperty(this, 'disabled', {
434
get: () => disabled,
435
set: (value) => (!(disabled = value)) ? adjustBuffer() : null
@@ -599,8 +602,6 @@ angular.module('ui.scroll', [])
599
602
};
600
603
601
604
adapter.reload = reload;
- if ($attr.adapter)
- $parse($attr.adapter).assign($scope, adapter);
605
606
/**
607
* Build padding elements
0 commit comments