Open finanalyst opened 11 months ago
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:
auxclick: (event) => { ... }
events { input:
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) => { ... }
inevents { input: