# Events

### <mark style="color:purple;">Menu Item Clicked</mark>

Fires when a user selects any menu item from any menu.

***

### <mark style="color:purple;">Menu Created</mark>

Fires when menu successfully is created.

***

### <mark style="color:purple;">Menu Destroyed</mark>

Fires when menu successfully is destroyed.

***

### <mark style="color:purple;">Context Menu Opened</mark>

Fires when the user right clicks an element to open a context menu.

***

### <mark style="color:purple;">Context Menu Opened</mark>

Fires when the context menu is closed.

***

### <mark style="color:purple;">Error Creating Menu</mark>

Fires if there was an error creating the menu.


---

# 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://deskifier.gitbook.io/deskifier/deskifier-bubble.io-docs/menu-element/events.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.
