stoppropagation example
Example 1: javascript event stoppropagation
event.stopPropagation();
Example 2: js propagation stop
<div (click)="func($event)">
<span>oi</span>
</div>
func(e?)
{
if(e) e.stopPropagation();
}
event.stopPropagation();
<div (click)="func($event)">
<span>oi</span>
</div>
func(e?)
{
if(e) e.stopPropagation();
}