阅读背景:

在触发事件中,可以选择$broadcast/$emit/$on

来源:互联网 

What is an alternative way in AngularJS to trigger events other than $broadcast/$emit/$on. If I will have too many event triggers between controllers and/or directives, I'm afraid this will lead to hard to trace spaghetti events. (Or could it be that too many events is a bad design after all?)What is an alternative way in AngularJS to trig




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: