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