disabled attribute not working angular 11 code example
Example: attr.disabled not working in angular
css
.disabled-contenct {
pointer-events: none;
opacity: 0.4;
}
html
<div [class.disabled-contenct]="!isDisabledContent"></div>
css
.disabled-contenct {
pointer-events: none;
opacity: 0.4;
}
html
<div [class.disabled-contenct]="!isDisabledContent"></div>