how to disable element in angular 9 code example
Example: how to disable a div in angular
<div [ngClass]="{'class1': condition,}"></div>
// your .css file
.disable{
pointer-events:none;
}
<div [ngClass]="{'class1': condition,}"></div>
// your .css file
.disable{
pointer-events:none;
}