I am doing some work trying to use the Google calendar API with appstudio. Google provides a quickstart sample in JS embedded in HTML - but I don’t know how to integrate this last part of the sample into appstudio. Thoughts?
<script async defer src="https://apis.google.com/js/api.js"
onload="this.onload=function(){};handleClientLoad()"
onreadystatechange="if (this.readyState === 'complete') this.onload()">
</script>
The Google Quickstart is at https://developers.google.com/calendar/quickstart/js
I have run it two ways (with the above code commented out):
no controls - just the JS code - nothing happens. No errors - just a blank form.
put the JS code inside a form.onshow event - same outcome
put the JS code inside a button onclick event - same outcome