When the user clicks on the checkbox, I need to hide certain contents.
Below is the code snippet:
<input id="IsBlock" class="e-field e-input" type="checkbox" name="IsBlock" style="width: 100%" #check>
To hide content based on the checkbox being checked:
<ng-container *ngIf="!check.checked">
The above code only works when I perform a mouse action such as clicking on the page. Can someone please assist?