---
title: useContextMenu
name: usecontextmenu
---

Bind the context menu event (true/false).

**true** (default)

A right mouse-click will trigger a [tree.contextmenu](#event-tree-contextmenu) event. This overrides the native contextmenu of the browser.

**false**

A right mouse-click will trigger the native contextmenu of the browser.
