How to open context menu in a panel on left click

New Here ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

I was wondering if there is a simple way to open the context menu on left click event. I have tried triggering the oncontextmenu event using javascript, but the native context menu is not showing. Does anybody have any idea how to do that ?

TOPICS
Scripting

Views

88

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

You can't do that with JavaScript. But why would you? The functions available in context menus are exposed to scripting.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 14, 2020 Dec 14, 2020

Copy link to clipboard

Copied

LATEST

The requirement from the customer is to have the context menu displayed, when the user hovers a line from a list, and left clicks over an icon that is displayed only on hovering.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines