课程
/前端开发
/Angular
/AngularJS实战
$scope.$on();这个是什么意思?
2016-07-28
源自:AngularJS实战 2-3
正在回答
$scope.$on('name',function)_监听name事件,发生时执行function
http://www.dotnet-tricks.com/Tutorial/angularjs/HM0L291214-Understanding-$emit,-$broadcast-and-$on-in-AngularJS.html
http://stackoverflow.com/questions/14502006/working-with-scope-emit-and-on
举报
一起学习AngularJS的基础教程,通过实例学习并学会AngularJS