How does ionic change the class value according to the content?

< ion-item * ngFor= "let item of items" (click) = "godetail (item)" >

  <p class="myi">
    <span [ngClass]="{{{item.piao}}==="1"? "qi":"xian"}">{{item.piao}}            
    </span>
  

< / ion-item >

clipboard.png
on this place, I changed how to write, I tried many kinds, [] {} tried,
just not, please take a look at it, thank you

Mar.22,2021

< span [ngclass] = "[item.piao ='1'? 'qi':' xian']" > {{item.piao}}

I haven't used ng. I guess it's about the same as vue.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37b83-2c0b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37b83-2c0b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?