Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ngstyle background url angular

<div [ngStyle]="{'background-image': 'url(' + photo + ')'}"></div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ngstyle #background #url #angular
ADD COMMENT
Topic
Name
2+2 =