@tomadj wrote:
Hello,
I try to watch the slider of the new directive ion-slides in the last version 1.2.1.
This code does not work.Any ideas ?
Thank's
var self = this; $scope.$watch('vm.slider',function(){ console.log(self.slider); }); <ion-slides options="vm.optionsSlider" slider="vm.slider"> <ion-slide-page> page 1 </ion-slide-page> <ion-slide-page> page 2 </ion-slide-page> </ion-slides>
Posts: 1
Participants: 1