add style angular onclick 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 = "";
}