example/index.js
function scrollHandler() {
  for (let i = 0; i < scrollElements.length; i++) {
    animationBus.applyStyles(scrollElements[i])
  }
  isTicking = false
}
function scrollHandler() {
  for (let i = 0; i < scrollElements.length; i++) {
    animationBus.applyStyles(scrollElements[i])
  }
  isTicking = false
}
function scrollHandler ( ) { for ( let i = 0 ; i < scrollElements . length ; i ++ ) { animationBus . applyStyles ( scrollElements [ i ] ) } isTicking = false }
Listen for window scroll and apply transforms to elements
Listen for window scroll and apply transforms to elements