java script prevent parent click code example
Example 1: prevent from going to a function html click
$("#clickable a").click(function(e) {
// Do something
e.stopPropagation();
});
Example 2: js propagation stop
<div (click)="func($event)">
<span>oi</span>
</div>
func(e?)
{
if(e) e.stopPropagation();
}