<div class="parent" (click)="fromParent()"> <button class="child" (click.stop)="fromChild()">Click me</button> </div>