I am adding a class to 2 div to toggle sidebar header using [ngClass]
how do i remove those class when enlarge the screen.
The problem is on widening the screen it remains there only because class is not removed. How do i remove the class?
On adding class [ngClass]="{'menu-push-onscreen': show}"
it will toggle and when i widen screen it will be there itself how shall i remove that?
show: boolean = false;
onToggleHeader(){
this.show=!this.show;
}