Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js propagation stop

<div (click)="func($event)">
	<span>oi</span>
</div>

func(e?)
{
	if(e) e.stopPropagation();
}
 
PREVIOUS NEXT
Tagged: #js #propagation #stop
ADD COMMENT
Topic
Name
1+4 =