Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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">
 
PREVIOUS NEXT
Tagged: #conditional #src #angular
ADD COMMENT
Topic
Name
4+4 =