#Using !important Keyword in [ngStyle].

2 messages · Page 1 of 1 (latest)

merry wigeon
#

Hello dears... Just wanted to know if [ngStyle] does support the !important keyword?

<mat-toolbar [fxLayout]="nbLayout" [fxLayoutAlign]="nbLayoutAlign" [ngClass]="nbClass" [ngStyle]="{'display': 'none!important'}">
``` Additionally, does it work with mat-toolbar ```html
<mat-toolbar [fxLayout]="nbLayout" [fxLayoutAlign]="nbLayoutAlign" [ngClass]="nbClass" [ngStyle]="nbStyle" [style.display]="'none!important'">