title: Is there a way to make right click behave the save way as left click for custom angular components?
body: <p>I am using ngx-charts libs, where right clicking on a chart allows user to select a slice of PI, allowing user to generate an event.</p>
  <pre><code>         &lt;ngx-charts-bar-vertical-stacked
               *ngIf=&quot;!histDisabled&quot;
               animations=&quot;true&quot;
               [scheme]=&quot;scheme&quot;
               showXAxisLabel=&quot;true&quot;
               showYAxisLabel=&quot;true&quot;
               xAxisLabel=&quot;Time&quot;
               yAxisLabe=&quot;Counts&quot;
               [results]=&quot;histData?.results&quot;
               (contextmenu)=&quot;onRightClick($event)&quot;
               (select)=&quot;onBarSelect($event)&quot;
           &gt;
           &lt;/ngx-charts-bar-vertical-stacked&gt;
  </code></pre>
  <p>Here, (select) generates a custom object indicating properties of the object in the bar select function. Is there a way to do this with left click?</p>