Answers for "event.preventdefault() in angular"

0

event.preventdefault() in angular

<!-- Angular 2+ -->
<button (click)="$event.preventDefault()"></button>

<!-- AngularJS -->
<button ng-click="$event.preventDefault()"></button>
Posted by: Guest on April-08-2021

Code answers related to "event.preventdefault() in angular"

Browse Popular Code Answers by Language