angular-flexslider icon indicating copy to clipboard operation
angular-flexslider copied to clipboard

Does not update an image src in the slider

Open ObaidUrRehman opened this issue 10 years ago • 1 comments

Given the following array of slides array:

$scope.slideshow.slides = 
[ 'http://flexslider.woothemes.com/images/kitchen_adventurer_cheesecake_brownie.jpg',
'http://flexslider.woothemes.com/images/kitchen_adventurer_lemon.jpg',
'http://flexslider.woothemes.com/images/kitchen_adventurer_donut.jpg',
'http://flexslider.woothemes.com/images/kitchen_adventurer_caramel.jpg' ];

If I try to update the src of any of the slides like this:

 $scope.slideshow.slides[0] = "http://lorempixel.com/704/444/cats";

It does not reflect on the UI. I guess you'd need to handle that as well in your $watchCollection method.

ObaidUrRehman avatar Mar 10 '15 05:03 ObaidUrRehman

I'm facing the same problem!! Could you help us on it?

c0nf1gur4t0r avatar Aug 26 '15 20:08 c0nf1gur4t0r