Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

passing a variable to the width style div angular

<img [src]="imageUrl | safe: 'url'" [ngStyle]="{width: imagewidth, height: imageheight}">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #passing #variable #width #style #div #angular
ADD COMMENT
Topic
Name
2+9 =