Use Scroller

use_scroller(
  animationLength = 750,
  easingFunction = "linear",
  scrollOffset = 0
)

Arguments

animationLength

integrer. Lenght of the animation

easingFunction

string. An effect from jquery-easing.

scrollOffset

integrer. scrollOffset

Examples

use_scroller()
#> <script>AA_CONFIG = {animationLength: 750, easingFunction: 'linear', scrollOffset:0};</script>