Answers for "how to disable a div in angular"

1

angualr disable div

.my-disable{
    pointer-events:none;
}
Posted by: Guest on March-22-2020
1

angualr disable div

<div ng-class="{'my-disable':condition}">
Posted by: Guest on March-22-2020
0

how to disable a div in angular

<div [ngClass]="{'class1': condition,}"></div>

// your .css file
.disable{
  pointer-events:none;
}
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language