angular conditionnal src 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">