Closed dhilt closed 6 years ago
Let's say we have a template:
<ul ui-scroll-viewport class="viewport"> <li ui-scroll="item in datasource" adapter="adapter"> <span>{{item.content}}</span> </li> </ul>
So how to know if the Adapter is created?
The simpliest way is to $watch for $scope.adapter property:
$watch
$scope.adapter
$scope.$watch('adapter', () => { console.log($scope.adapter); });
Let's say we have a template:
So how to know if the Adapter is created?