AngularJs 阻止事件运行,防止冒泡穿透事件

<body ng-controller="MainCtrl">
   <div ng-click="goUrl('http://qiaole.sinaapp.com')">
     <button type="button" ng-click="doSomeSth();$event.stopPropagation();">button</button>
   </div>
</body>

 

 

JS防止冒泡事件:

http://qiaolevip.iteye.com/blog/2087911

你可能感兴趣的:(每天进步一点点,学习永无止境,纵观千象,冒泡)