I want to show loader
till page not loaded or all Ajax
call not completed in frontend and backend both side.
Is it possible in Magento 2.0.7 ?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou can try below ajax call for showing loader during ajax call is runnig.
jQuery.ajax({
url: url,
type: 'POST',
dataType: 'json',
showLoader: true //use for display loader
}).done(function (data) {
return true;
});