摘要: angularjs如何在视图渲染结束之后,或者render之后执行指令中的link方法 关键字: $timeout app.directive("myDirective",function($timeout){ return{ restrict:"A", link:function(scope,el 阅读全文
posted @ 2016-03-01 13:58 思思博士 阅读(573) 评论(0) 推荐(0)
摘要: 不解释了自己看吧. 直接上代码. *{ margin: 0; padding: 0; } .pie-box{ position: relative; overflow: hidden; } .pie-box-inside{ position: absolute; left: 50%; top: 50 阅读全文
posted @ 2016-03-01 11:13 思思博士 阅读(280) 评论(0) 推荐(0)