Hi guys,
I need to set the background image programmatically and the his position (center). I used this snippet but I don’t understand how I can add background-position attribute.
should be [style.background-image]=“‘url(’+mySanitizedUrl+‘)’” for the background image. For the positioning, is it always centered? Then I would just set it through regular css on the image, regardless the fetched url set in the template.