endless pagination with kaminari and jquery
-
25-10-2019 - |
سؤال
I am trying to create a nice endless pagination with kaminari and jquery, i have seen a tutorial on this kind of topic but it is done with will_paginate and jquery. This time around i want to be able to do it with kaminari gem. Any help here. Thank
المحلول
Nice tutorial here Create-Infinite-Scrolling-with-jQuery
نصائح أخرى
There is one more Gem jquery-infinite-pages which really works well with Kaminari. The Readme file has a very nice explanation and a demo example as well.
I am sure this gem will save your day. Especially if someone is newbie to Rails.
لا تنتمي إلى StackOverflow