dixonandmoe / rellax

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

Add an option to set the 'resize' event name #163

Open sergeymorkovkin opened 5 years ago

sergeymorkovkin commented 5 years ago

In my application I'm using a non-standard 'mode-resize' event, which is a debounced version of the normal resize event. It only triggers when Bootstrap width mode changes. Would appreciate an option allowing to set the event name.