pagePiling plugin by Alvaro Trigo. Create a scrolling pile of sections. http://alvarotrigo.com/pagePiling/
4.1k
stars
654
forks
source link
Check if the element exists first, then attach an event handler #211
Closed
kourosh-neyestani closed 3 years ago
Check if the element exists first, then attach an event handler to prevent Uncaught TypeError: Cannot read property 'addEventListener' of undefined