like_button icon indicating copy to clipboard operation
like_button copied to clipboard

Can we start animation without onTap ?

Open NaNostyle opened this issue 2 years ago • 2 comments

i d'like to know if the animation is tied to the ontap or to the isLiked parameter ? I want to start the animation based on a boolean stored in the database. I tried to tie the isLiked parameter to a value from my database, but only the color of the icon changes, the animation is not triggered

NaNostyle avatar Apr 18 '22 17:04 NaNostyle

i would be also interested to show an animation after page load

razfazz avatar Aug 13 '22 15:08 razfazz

Same issue. Whenever the "isLiked" parameter is set, the animation stops working when going from "unlike" to "like".

Infinitism avatar Aug 14 '22 19:08 Infinitism

you can use postFrameCallback to get controller or likeCountController do any thing you want , more detail see demo

zmtzawqlp avatar Sep 29 '22 07:09 zmtzawqlp