Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to trigger a selection event with right mouse #416

Open
finanalyst opened this issue Oct 2, 2023 · 0 comments
Open

how to trigger a selection event with right mouse #416

finanalyst opened this issue Oct 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@finanalyst
Copy link

I have a list of choices, I can select one with mouse click or Enter and the URL associated with item opens.

But now I want to have extra behaviour: mouse-right-click opens selected item in a new tab, while keeping Enter and mouse click open in current tab.

How to trap RightMouseButton (in JS event 'auxclick').

I have tried adding auxclick: (event) => { ... } in events { input:

@finanalyst finanalyst added the enhancement New feature or request label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant