AG Studio Launch Week 🚀🚀🚀 28 Sep - 2 Oct 2026 🚀🚀🚀 Join now

JavaScript Embedded AnalyticsStudio Events Reference

Version 3.0.0

To listen to events, see Studio Events.

Lifecycle

apiReadyCopy Link
AgStudioApiReadyEvent
The API has been initialised and is ready for most calls. The data engine has not been initialised yet, and the UI is not ready.
studioReadyCopy Link
AgStudioReadyEvent
The data engine has been initialised, and the UI has been created, but may not be fully rendered yet.
renderStateChangedCopy Link
AgStudioRenderStateChangedEvent
The render state has changed. This is called after the UI has been rendered, and can be used to determine when Studio is ready for printing or other operations that require the UI to be fully rendered.
studioPreDestroyedCopy Link
AgStudioPreDestroyedEvent
Invoked immediately before Studio is destroyed. This is useful for cleanup logic that needs to run before Studio is torn down.
errorRaisedCopy Link
AgStudioErrorRaisedEvent
An error has occurred within Studio.

State

stateUpdatedCopy Link
AgStudioStateUpdatedEvent
State has been updated.