Disable animations when opening images
Hey, brilliant plugin! I was wondering if it was possible to disable the animation effect when opening up an image? I'd prefer just for it to appear than transition up. The same with the fade out effect when closing the window.
Thanks!
Hi @enkota I'm sorry but as of now, We haven't prepared such option. I'll add the option soon and let you know :)
Hi @steelydylan that's brilliant thank you :)
Was looking for that too!
Hi @enkota, @fourroses666 I just added the showAnimation option. you can use this option from [email protected] Write a code like below
new SmartPhoto(".js-img-viwer", {
showAnimation: false
});
@steelydylan thanks very much!
Closing due to comments above https://github.com/appleple/SmartPhoto/issues/36#issuecomment-354556698