Skip to content

Instantly share code, notes, and snippets.

@benhickson
Created July 1, 2020 18:39
Show Gist options
  • Save benhickson/054626051fd5c8ca14419a24d3ab6c80 to your computer and use it in GitHub Desktop.
Save benhickson/054626051fd5c8ca14419a24d3ab6c80 to your computer and use it in GitHub Desktop.
<div
class="{{domClass}}"
[ngStyle]="{'background-image':'url('+imageUrl+')'}"
></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment