tableindex

时间:2014-06-28 12:07:10   收藏:0   阅读:281

在写代码的时候,失焦的第一反应便是ng-blur,没想到在一个标签上其作用了,多加了几个标签没反应,于是发现了tableindex,写的代码列子如下,希望可以帮助你:

 <img src=‘{{avatar}}‘ width=‘20px‘ height=‘20px‘ style=‘float:left;cursor:pointer;‘ ng-click=‘toggle()‘ ng-blur=‘closeUserInfo()‘ tabindex=‘1‘ />

  <div style=‘float:left;margin-left:8px;‘ ng-click=‘toggle()‘ ng-blur=‘closeUserInfo()‘ tabindex=‘1‘><a style=‘cursor: pointer‘>{{nick}}</a></div>
     <div class=‘mini-page-small-bottom-option‘ style=‘float: left;cursor:pointer;margin-top:6px;margin-left:10px;‘ ng-click=‘toggle()‘ ng-blur=‘closeUserInfo()‘ tabindex=‘1‘ ></div>

</div>

tableindex,布布扣,bubuko.com

原文:http://www.cnblogs.com/shangguanyun/p/3798853.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!