src if else in angular code example
Example: conditional src angular
Arrow="../../../assets/images/shared/desktop/arrow.svg";
ArrowW="../../../assets/images/shared/desktop/arrow copy.svg";
<img [src]="arrow==0? ArrowW : Arrow " alt="arrow">
Arrow="../../../assets/images/shared/desktop/arrow.svg";
ArrowW="../../../assets/images/shared/desktop/arrow copy.svg";
<img [src]="arrow==0? ArrowW : Arrow " alt="arrow">