how to change css on click in angular code example
Example: angular change element style on click
<button (onClick)="click($event)">Submit</button>
...
click( {target} )
{
target.style = "";
}
<button (onClick)="click($event)">Submit</button>
...
click( {target} )
{
target.style = "";
}