Globals
Lifecycle events
All three arrive as DOMCustomEvents on window.
onWidgetLoad
Fires once when the widget mounts.
onEventReceived
Every live event. detail.listener names the event, detail.event is the
payload. The full catalog with exact payload shapes lives in the
event reference.
onSessionUpdate
Reserved. Nothing emits it today; don’t build on it.
Bundled libraries
- Tailwind CSS via CDN: use utility classes directly in your HTML.
- GSAP 3.12.5 + TextPlugin: timelines, easings, text animation.
fetch() works against the StreamWizard state API,
your media library files, and the weather/geocoding APIs used by IRL widgets.
The editor knows all of this
The JS tab autocompletes every global, event name, and payload field on this page. When in doubt, typee.detail. and read what comes up.
