asvd/dragscroll

Reinit dragscroll

Cartmaniac opened this issue · 2 comments

Hey,

I have some elements that I create with jQuery and since they are created after the page loads, ".dragscroll" doesn't work. Is there a way to reinit the elements?

asvd commented

from the readme:

If you add or remove the dragscroll class dynamically, invoke dragscroll.reset() to update the listeners.

does it work?

Thanks. Don't know how I missed that :)