Skip to main content

disableContextMenu

Typeboolean
Defaultfalse
Added inv4.0.0

Disable the context menu that appears when you right-click.

Example

The below example is the case of disableContextMenu: false, and the context menu is displayed when the mouse is right-clicked.

{
disableContextMenu: false,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}

The below example is the case of disableContextMenu: true, the context menu does not display even if you right-click.

{
disableContextMenu: true,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}