Closed offthegrass closed 9 years ago
I've checked out the demos, and the only example I can see of recycling DOM elements is in the 'Endless' plugin:
http://scrollerjs.com/examples/feed/example-endless-plugin.html
the others just insert new DOM elements, right?
in the example, when you scroll to item 20 it loops back around. I'd like to use the recycle function but I don't want the list to loop when it gets to the end, I'd just like it to stop.
how can I do this?
gpuOptimization: true is the solution.
gpuOptimization: true
I've checked out the demos, and the only example I can see of recycling DOM elements is in the 'Endless' plugin:
http://scrollerjs.com/examples/feed/example-endless-plugin.html
the others just insert new DOM elements, right?
in the example, when you scroll to item 20 it loops back around. I'd like to use the recycle function but I don't want the list to loop when it gets to the end, I'd just like it to stop.
how can I do this?