Closed am8525 closed 4 years ago
I've figured it out. A little bit of DOM manipulation did the trick:
componentDidMount(){
const target = ReactDOM.findDOMNode(this);
anime({
targets: target.children[0].children,
translateY: 100,
loop: true
});
}
Note that it's the child of the child because the dot is within a nested div.
Really not sure what I'm doing wrong here. Just trying to get a basic translation going so I can start working with the library.
Any ideas?