Can you please tell me to Toggle Show and Hide div content using button click event without using variable and event binding. Sample code
<form>
<div *ngIf="--CAPTURE BUTTON CLICK EVENT HERE--">
<span>Welcome</span>
</div>
<button type="submit">Click Me</button>
</form>
Please suggest me the solution How to listen button click event in *ngIf.