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

Animation go continuous and smooth?

Open karlvonbonin opened this issue 8 years ago • 3 comments

Hello,

is it possible to make the transition/animation go continuously and smooth? (Like a news ticker) from right to left.

Thanks

karlvonbonin avatar Feb 19 '16 11:02 karlvonbonin

You can set rn-carousel-easing to change the easing function. By doing so you could set it to a linear function and set rn-carousel-duration and rn-carousel-auto-slide to an equal duration to get a smooth transition (not tested but should work). I hope you get the idea (if you have any problems just ask back)

ScallyGames avatar Feb 19 '16 15:02 ScallyGames

Thanks for your reply. Doesnt work :( - This is my setup:

rn-carousel-auto-slide="0.1" rn-carousel-duration="0.1" //cause 0 doesnt work rn-carousel-loop rn-carousel-easing="easeFromTo"

Any other suggestions ? I really like this slider

karlvonbonin avatar Feb 19 '16 18:02 karlvonbonin

Could you set up a fiddle for this?

ScallyGames avatar Feb 25 '16 08:02 ScallyGames