Hi,
Wonderful add-on! I'm working on an add-on myself and I can't - for the life me - figure out how you a triggering the loading spinner that slides up after you click 'Create Reports'.
What I've tried:
- inspected the source of the iframe
- read and re-read the Class SpreadsheetApp, Class HTMLService
It appears to be happening server-side, but I don't see any public API methods that would add this lovely functionality.
When inspecting the element in dev tools:
var bar = document.querySelector('.docs-working-bar');
//adds spinner
bar.setAttribute('class', 'docs-working-bar docs-working-bar-display docs-working-bar-slideup');
//removes spinner
bar.setAttribute('class', 'docs-working-bar docs-working-bar-display docs-working-bar-callback');
Can you shed
any light on how you're displaying and removing the spinner?
Thanks!
Nick