Open L-Burtness opened 4 years ago
The documentation for the Infinite Scroll shortcut (http://imakewebthings.com/waypoints/shortcuts/infinite-scroll/) seems to be incorrect. The example uses a jQuery object for element when in fact, element accepts HTML elements, not jQuery objects.
element
The acceptable type for input to element is also noted in this GitHub issue from Jun 2015 https://github.com/imakewebthings/waypoints/issues/418#issuecomment-111874962
It would be great if the documentation could be accurate. Thanks for making this library!
The documentation for the Infinite Scroll shortcut (http://imakewebthings.com/waypoints/shortcuts/infinite-scroll/) seems to be incorrect. The example uses a jQuery object for
element
when in fact,element
accepts HTML elements, not jQuery objects.The acceptable type for input to
element
is also noted in this GitHub issue from Jun 2015 https://github.com/imakewebthings/waypoints/issues/418#issuecomment-111874962It would be great if the documentation could be accurate. Thanks for making this library!