We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 587a828 commit 9c9056bCopy full SHA for 9c9056b
src/components/Parallax.vue
@@ -84,7 +84,7 @@
84
let animationValue = (window.pageYOffset * this.speedFactor)
85
86
if (animationValue <= availableOffset && animationValue >= 0) {
87
- this.el.style.transform = `translate3d(0, ${animationValue * 1}px ,0)`
+ this.el.style.transform = `translate3d(0, ${animationValue * this.directionValue}px ,0)`
88
}
89
},
90
0 commit comments