title: How to chain Ternary Operators?
body: <p>I show different Data based on values in Ternary Operator in Multiple conditions:</p>
  <p>I have this one,</p>
  <pre><code> [attr.data-pendo]=&quot;linkedItemType === LinkedItemType.Prospect ? 'pendo-prospects' : 'pendo-loans'&quot;
  </code></pre>
  <p>I need to add 1 more condition,</p>
  <p>so it is like:</p>
  <pre><code> if linkedItemType === LinkedItemType.Prospect then 'pendo-prospects' 
   if linkedItemType === LinkedItemType.Loan then 'pendo-loan' 
   else 'pendo-task'
  </code></pre>
  <p>How make this in Ternary?</p>