title: What best way i can add more events to this span using the conditional operator
body: <p>I have this code</p>
  <pre class="lang-html prettyprint-override"><code>&lt;span
    role=&quot;link&quot;
    tabindex=&quot;0&quot;
    :class=&quot;tabDetails.showPayment ? 'link' : ''&quot; 
    @click=&quot;tabDetails.showPayment ? cTab('payments') : null&quot;
  &gt;
  </code></pre>
  <p>i also want to add the <code>keyup@enter</code> and <code>keyup@space</code> events to it, i am not sure how can i do it, any clues or idea?</p>