# JavaScript Event Listeners (Advanced)

## JavaScript Event Listeners (Advanced)

> **Audience**: This article is intended for developers and technical users familiar with JavaScript and Shopify theme development.

Angle3D Configurator provides a set of **JavaScript event listeners** to allow advanced behavior customization on your Shopify store. These events are triggered at various points during the user interaction with the configurator, enabling you to hook into these moments and implement your own logic, such as opening a cart drawer for example.

All event listeners use the standard JavaScript syntax:

```js
window.addEventListener("<EVENT_NAME>", function(event) {
  // YOUR CUSTOM CODE HERE
});
```

Here is a list of the available event listeners:

[Custom Add to Cart](/angle3d-configurator-documentation/custom-add-to-cart.md)

[App Ready](/angle3d-configurator-documentation/app-ready.md)

[App Loaded](/angle3d-configurator-documentation/app-loaded.md)

[Price Change](/angle3d-configurator-documentation/price-change.md)<br>

⚠️ **Please use these event listeners responsibly**. Custom scripts should not interfere with the core functionality of the Angle3D Configurator. Improper use may lead to unexpected behavior, and we cannot provide support for issues caused by external scripts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.angle3d.co/angle3d-configurator-documentation/javascript-event-listeners/javascript-event-listeners-advanced.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
