Page 1 of 1

Activating PACE

Posted: Wed Jul 20, 2022 9:44 am
by mansour

Hi,
How may I activate PACE for my custom pages? Is there any option to enable/disable? (v2022)
Thanks


Re: activating PACE for phpmaker 2022

Posted: Wed Jul 20, 2022 12:55 pm
by mobhar

There is such option to disable PACE. Just want to know, why did you want to disable PACE?


Re: activating PACE for phpmaker 2022

Posted: Wed Jul 20, 2022 1:04 pm
by mansour

Hi,
Actually I want to use it when I click buttons. :)
I want to show PACE bar when I click a button.
e.g.
$(".links").click(function(e){
e.preventDefault();
// I NEED CODDE TO SHOW PACE GRAPH!
});


Re: activating PACE for phpmaker 2022

Posted: Wed Jul 20, 2022 2:13 pm
by mobhar

I don't think you can do that. PACE will only detect when a current page is being lodaed, by displaying its progress status. The related PACE Javascript will automatically detect that loading process.


Re: Activating PACE

Posted: Wed Jul 20, 2022 9:43 pm
by arbei

You may refer to docs -> API.