Answers for "how to add background image dynamically with angular"

1

angular dynamic background image

<div [style.background-image]="'url(/img/' + item.img + ')'"
 	[style.width.px]="200" [style.height.px]="150p"></div>
Posted by: Guest on October-24-2020
1

how to put background image in angular 11

[style.backgroundImage]="'url('+ imagSource +')'"
Posted by: Guest on August-05-2020

Code answers related to "how to add background image dynamically with angular"

Browse Popular Code Answers by Language