I started building a Google Calendar Add-on, which I would like to migrate to a Chrome extension (to have more flexibility for the UI). In Google Scripts add-ons, one can define a trigger function that executes whenever a calendar event is created / updated (see here).
Do you know how I can have a similar behaviour in a Chrome extension? Basically, I would like to define a function to be called whenever the user opens / updates an event (such as in the picture below).
I am very new to front-end dev so any help / pointers would be greatly appreciated.
Many thanks
I researched the Google Calendar API documentation extensively but couldn't find a solution to my problem.