Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 2bc30a0 + e1dd03b commit c10b9e2Copy full SHA for c10b9e2
13 - Slide in on Scroll/index-FINISHED.html
@@ -60,7 +60,7 @@ <h1>Slide in on Scroll</h1>
60
61
const sliderImages = document.querySelectorAll('.slide-in');
62
63
- function checkSlide(e) {
+ function checkSlide() {
64
sliderImages.forEach(sliderImage => {
65
// half way through the image
66
const slideInAt = (window.scrollY + window.innerHeight) - sliderImage.height / 2;
0 commit comments