keen-slider
keen-slider copied to clipboard
Debounce `window.resize` event
Good day!
Thanks for this amazing library. I've noticed that the slider automatically registers an resize
function for the window.resize
event. This event usually fires pretty often if the window is resized by dragging the mouse, which results in a very laggy experience if you have a few sliders on the page.
I think it would be preferrable if this event would be debounced or if there would be an option to debounce this event.
any solution ?