pace
pace copied to clipboard
HOW TO: Add second indicator when DOM is busy?
Hey guys,
Been using PACE for a few of my projects, love it.
The project I'm working on is here:
https://github.com/seanvree/homepage
I already have PACE implemented on BODY when the page loads, but I'd like to add a second indicator at a specific location and have it active when the DOM is busy. For example, on the project above, the page asks for geolocation permission, right now I have a simple "weather loading" class that is visible while the DOM waits for permissions, so how would I add only the pace-activity spinner to the left margin of the page?
Thanks!