I would like to passing parameter in [[ style="width:{{item.number}}" ]]
[[ style="width:{{item.number}}" ]]
not DOM pls
You can do it with ngStyle like this:
<div [ngStyle]="{'width.px': someVariable }"></div>