![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AngularJS
cy36998
这个作者很懒,什么都没留下…
展开
-
AngularJS controller之间的通信机制
在Angularjs开发一些经验总结随笔中提到我们需要按照业务却分angular controller,避免过大无所不能的上帝controller,我们把controller分离开了,但是有时候我们需要在controller中通信,一般为比较简单的通信机制,告诉同伴controller我的某个你所关心的东西改变了,怎么办?如果你是一个javascript程序员你会很自然的想到异步回调响应式通信转载 2014-02-12 09:26:36 · 780 阅读 · 0 评论 -
angualrJS支持的event
click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste 阻止事件之间的冒泡使用$event.stopPropagation()方法。原创 2014-02-12 09:47:29 · 448 阅读 · 0 评论