Use the stopPropagation method on the angular $event object:
<div ng-click="parent()">
<div ng-click="d(); $event.stopPropagation();"></div>
</div>
<input (click)="onChildClickFunction();$event.stopPropagation()"/>
Code Example |
---|
Html :: bootstrap button link |
Html :: textarea autosize angular |
Html :: meta initial scale |
Html :: javascript html reCAPTCHA |
Html :: express serve html |
Html :: ionic button trigger ion-datetime |
Html :: html submit button |
Html :: html link favicon |
Html :: tailwind hover color |
Html :: hidden label html |
Html :: html structure |
Html :: csp react |
Html :: info symbol text |
Html :: vue select v-for |
Html :: angular raw html |
Html :: php prevent form resubmission |
Html :: how to color div html |
Html :: Flutter Embedded Iframe |
Html :: how to get image on the tab bar html |
Html :: onclick a tag |
Html :: how to clear radio button input when someone types in an input field |
Html :: img src data base64 |
Html :: Html.ActionLink with parameters |
Html :: how to strike out text in html |
Html :: browser favicon html |
Html :: bluetooth headphones cutting out |
Html :: disable close from screen modal popup |
Html :: .html to .exe |
Html :: BORDERS WITH TEXT IN IT |
Html :: text area height |