会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
imsomnus
业精于勤而荒于嬉,行成于思而毁于随。
博客园
首页
新随笔
联系
订阅
管理
2017年6月26日
Angular 定时器$timeout和$interval,延时调用
摘要: 项目中有用到定时器定时刷新页面的数据,在网上查看了一些资料,整理了一下,备忘。 $timeout 用法如下:$timeout(fn,[delay],[invokeApply]); fn:一个将被延迟执行的函数。 delay:延迟的时间(毫秒)。 invokeApply:如果设置为false,则跳过脏
阅读全文
posted @ 2017-06-26 16:08 imsomnus
阅读(7414)
评论(0)
推荐(0)
编辑
公告