
angularjs
别浪呀
这个作者很懒,什么都没留下…
展开
-
angularjs--单选下拉列表
/* AngularJS v1.2.9 */代码<td> <!--ng-options指定下拉列表展现 item1List: 数据源变量 in: 关键字 item 遍历后的变量名 ...原创 2019-04-10 10:47:33 · 629 阅读 · 0 评论 -
angular--代码分离
目录目录结构代码分层继承目录结构代码分层原始html<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <titl...原创 2019-02-13 17:22:50 · 407 阅读 · 0 评论 -
angular--入门
目录表达式使用数据双向绑定初始化执行控制器事件执令循环数组循环对象数组内置服务 http表达式使用<!DOCTYPE html><html><head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible"...原创 2019-02-01 15:48:44 · 357 阅读 · 0 评论 -
angularjs--变量监控方法
/* AngularJS v1.2.9 */ /** * 监控方法 * $watch 方法名 * $watch('变量名',function (改变后的数据,之前的数据) {}) */ $scope.$watch('entity.goods.category1Id',function (newValue,oldValue) { ...原创 2019-04-10 11:03:26 · 1380 阅读 · 0 评论