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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -