Hi Aston,
I’ve managed to patch most of this together, here’s the repl:
Only thing not working in repl is
{document.body.scrollTo( 0, 0 )} I’ve run “npm install --save-dev
svelte-scrollto” but don’t know how to trigger it without on:click
To position at top of page when Oil on canvas or Acrylic is clicked -
running in localhost works ok.
Like to hear any suggestions on how this code can be improved - this
is my 1st svelte app.
Thanks for any help