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