what is the use of stopPropagation in javascript code example
Example: js propagation stop
<div (click)="func($event)">
<span>oi</span>
</div>
func(e?)
{
if(e) e.stopPropagation();
}
<div (click)="func($event)">
<span>oi</span>
</div>
func(e?)
{
if(e) e.stopPropagation();
}