DidoCarthage
1
Q:

prevent the child event from triggering the parent element angular 5

Use the stopPropagation method on the angular $event object:

<div ng-click="parent()">
  <div ng-click="d(); $event.stopPropagation();"></div>
</div>
0

New to Communities?

Join the community