How can I animate a react.js component onclick and detect the end of the animation

后端 未结 6 1516
孤街浪徒
孤街浪徒 2020-12-28 13:19

I want to have a react component flip over when a user clicks on the DOM element. I see some documentation about their animation mixin but it looks to be set up for \"enter\

6条回答
  •  误落风尘
    2020-12-28 13:59

    I successfully used this project in my react-hammer integration project there are some examples with hammer events and react animation.

提交回复
热议问题