I have a div in angular and I want to toggle between 3 classes.
So in the html I have:
<div *ngIf="status">Content Here</div>
In my .ts file I have a variable:
status = 'closed';
The status can have 3 values...
closed, opened or hidden.
Depending on the status value I need to add a different class or css to the div.
How can I do that?