pace icon indicating copy to clipboard operation
pace copied to clipboard

Start Pace when iFrame is opening

Open miguelleite opened this issue 13 years ago • 2 comments

Hey there. I'm building an website where there are some examples of a chart library, and i've got a select object that will specify the chart type to show, and will load an iframe with it's type samples. I wish I could start Pace as soon as I change the chart type. Is there any way to do that?

Thanks in advance, and congrats for the great job done here!

miguelleite avatar Sep 24 '13 14:09 miguelleite

Sure, you want to call Pace.restart() before changing the chart type. Please let me know if this doesn't work for your application.

zackbloom avatar Sep 24 '13 17:09 zackbloom

It worked perfectly, doing the restart() and the stop() in the right places! Thank you for the help, and once again, great job there :+1: I will share the result as soon as the website goes online!

miguelleite avatar Sep 25 '13 11:09 miguelleite