Z
Z
zjoin2016-01-12 16:19:08
css
zjoin, 2016-01-12 16:19:08

How to animate elements on scroll?

In general, it is necessary that when scrolling, an animation of elements of the type appear as here: anorudes.github.io/React-Scroll-Effect
It does not take off on version 0.14, maybe there are some other options, who knows?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Io, 2016-01-12
@vawsan

right there in the code. How are you calling the event?

<section>
     <ScrollEffect className="element" animate="bounceInUp" callback={this.callbackAnimateElement4.bind(this)}> 
            <span>4</span>
     </ScrollEffect>
</section>

callbackAnimateElement4()
    alert('callback animate of 4 element');
  }

S
Sergey Karvasarny, 2016-01-12
@megapihar6

mynameismatthieu.com/WOW/index.html try here)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question