angularjs - Set the ngClick event handler for the capturing phase -
is possible set ngclick event handler capturing phase described in this article. want prevent events trickling down children , bubbling again when condition met parent during capturing phase.
in angular event directives can use $event object (it jquery/jquery-lite event object). so, can this:
ng-click="someaction(); $event.stoppropagation()"
Comments
Post a Comment