Activating PACE

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mansour
User
Posts: 282

Activating PACE

Post by mansour »

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


mobhar
User
Posts: 11727

Post by mobhar »

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


mansour
User
Posts: 282

Post 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!
});


mobhar
User
Posts: 11727

Post 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.


arbei
User
Posts: 9384

Post by arbei »

You may refer to docs -> API.


Post Reply