angularJS
文章平均质量分 59
肉酱
这个作者很懒,什么都没留下…
展开
-
angular学习:npm启动后不能访问http://localhost:8000/
angular学习中 输入npm start可以启动 但是进入 "http://localhost:8000/" 时出现: http.js:733 throw new TypeError('The header content contains invalid characters'); ^ TypeError: The header cont原创 2016-04-05 11:00:34 · 8569 阅读 · 0 评论 -
AngularJS入门之数据验证
原文:http://www.it165.net/pro/html/201505/42056.html AngularJS自带了对表单或控件的输入数据进行验证的功能,对于Html5的基础控件均有内建的验证器,以下列举了所有支持的验证类型: email max maxlength min minlength number pattern required url date date转载 2016-04-28 10:43:22 · 2602 阅读 · 0 评论 -
angular ng-click获取触发事件对象this
来源:http://hbiao68.iteye.com/blog/2286434 ng-click="shareGoods({{item.goods_id}},$event)" 传递一个$event对象 通过事件对象 $event.target 获取事件源 Html代码 div class="float_left width_50 b转载 2017-03-14 11:13:34 · 19117 阅读 · 0 评论