---
title: "Studio Events Reference"
framework: javascript
version: "2.1.2"
---

# Studio Events Reference

To listen to events, see [Studio Events](https://www.ag-grid.com/studio/javascript/studio-interface#studio-events).

## Lifecycle

| Property | Type | Default | Description |
| --- | --- | --- | --- |
| `apiReady` | `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. See [Studio Lifecycle](https://www.ag-grid.com/studio/javascript/studio-lifecycle/). |
| `studioReady` | `AgStudioReadyEvent` |  | The data engine has been initialised, and the UI has been created, but may not be fully rendered yet. See [Studio Lifecycle](https://www.ag-grid.com/studio/javascript/studio-lifecycle/). |
| `studioPreDestroyed` | `AgStudioPreDestroyedEvent` |  | Invoked immediately before Studio is destroyed. This is useful for cleanup logic that needs to run before Studio is torn down. See [Studio Lifecycle](https://www.ag-grid.com/studio/javascript/studio-lifecycle/). |
| `errorRaised` | `AgStudioErrorRaisedEvent` |  | An error has occurred within Studio. See [Errors](https://www.ag-grid.com/studio/javascript/studio-interface#studio-errors). |

## State

| Property | Type | Default | Description |
| --- | --- | --- | --- |
| `stateUpdated` | `AgStudioStateUpdatedEvent` |  | State has been updated. See [State](https://www.ag-grid.com/studio/javascript/state/). |
