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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -