javascript - Cannot chain a very simple animation in velocity-react using interruptBehavior -
i'm trying use animation library react called velocity-react , i'm having hard time getting 1 animation fire after another. documentation mentions properties, gives few concrete examples on how use them. here trying work:
<velocitycomponent animation={{opacity: this.state.arrayshow[0]===true?'1':'0'}} interruptbehavior={{'queue'}}//this queueing documentation says use , broken! duration={5000} > <explanationpadding> <p>'lorem ipsum dolor....'</p> </explanationpadding> </velocitycomponent>
so above animates correctly, not queue. know supposed pass property interruptbehavior 'queue' don't know correct syntax doing , i'm tired of guessing. i've tried passing delay (as in if delay 5 seconds other animation finished), can't work either. can please provide clues supposed do?
Comments
Post a Comment