I want to add some action on context menu. How to acheive that in aurelia?
Something like this i have…
<g repeat.for="selectedRectangle of selectedRectangles"
transform="translate(${selectedRectangle.x0},${selectedRectangle.y0})"
contextmenu="onRightClick(selectedRectangle)">
Any suggestions?
Thanks