# Cart Drawer event

In this case, after successfully adding a product to the cart, you'll need to manually trigger the following action to display the Smind's Cart Drawer on the screen:

```
const drawer = new SMI_CartDrawer();
drawer.render();
drawer.onToggle();
```


---

# 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.smind.io/dev/cart-drawer-event.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.
