I have a page within my site that has a lot of images +code and it takes a bit to load. (It works…)
But, I was trying to add a small “Loading” icon (#button66) to the previous page after a linked button(#button39) is clicked.
I’ve tried just doing .show() on a click event, and I’ve tried linking the button via code to see if it was trying to load the next page first, but neither is getting #button66 to appear:
import wixLocation from ‘wix-location’ ;
export function button39_click ( event ) {
$w ( “#button66” ). show ()
wixLocation . to ( “/neighbors-install-images” );
Please let me know if you have any tips!