dixonandmoe / rellax

Lightweight, vanilla javascript parallax library
https://dixonandmoe.com/rellax/
MIT License
7.08k stars 876 forks source link

Pass speed option in refresh #116

Closed jedmarcnocum closed 6 years ago

jedmarcnocum commented 6 years ago

This is not really an issue but I just wanted to ask if it is possible to change the data-rellax-speed when calling rellax.refresh()?

Something like : rellax.refresh({ speed: newSpeed })

moeamaya commented 6 years ago

Not at the moment, but I'll log it for the 2.0 release.