Trigger function alongside Finsweet Load Infinite Option

Hi I am using the load more script from the team of Finsweet, it is working great, but I want to know if there is a way to trigger a function when the infinite option is enabled and it runs. I have searched for a way to do it but cant find it.

When using load under I can trigger my function on click for the pagination next button. I want a similar option but for the infinite scrolling.

    $(".next-pagination").click(function () {
      setTimeout(iniciamosMalla, 200);

Thank you. Here is my read only link: