Forums Forums Search & Filter Pro Display a loading icon

Viewing 1 post (of 1 total)
  • Ross Moderator
    #5436

    Hey Marc

    Check – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

    Here you will see two JavaScript events, which fire when the loading starts, and when the loading finishes – so you could add & remove your custom loaders here – eg:

    $(".searchandfilter").on("sf:ajaxstart",function(){
        alert("show loader");
    });
    
    $(".searchandfilter").on("sf:ajaxfinish",function(){
        alert("hide loader");
    });

    This should be put in your themes main JS file 🙂

Viewing 1 post (of 1 total)