min-width ng style code example
Example 1: ngStyle
[ngStyle]="{'background-image': 'url(' + data.headerImage + ')'}"
Example 2: ngstyle
content_copy
<some-element [ngStyle]="{'max-width.px': widthExp}">...</some-element>
[ngStyle]="{'background-image': 'url(' + data.headerImage + ')'}"
content_copy
<some-element [ngStyle]="{'max-width.px': widthExp}">...</some-element>