随笔分类 -  angularjs

摘要:JS 自定义指令 阅读全文
posted @ 2018-08-29 16:50 Tclywork 阅读(210) 评论(0) 推荐(0)
摘要:不说多的,就一个代码: GetList() 为函数 阅读全文
posted @ 2018-08-18 23:50 Tclywork 阅读(187) 评论(0) 推荐(0)
摘要:localhost:3000/#/classrooms/3 阅读全文
posted @ 2016-11-23 02:00 Tclywork 阅读(433) 评论(0) 推荐(0)
摘要:AngularJs Angular数据类型判断 angular.isArray 判断括号内的值是否为数组。 格式:angular.isArray(value); value: 被判断是否为数组的值。 angular.isDate 判断括号内的值是否是一个时间。 格式:angular.isDate(v 阅读全文
posted @ 2016-11-22 21:09 Tclywork 阅读(1081) 评论(0) 推荐(0)
摘要:1、加入jquery和angular的引用 2、加入ui-bootstrap-tpls.min.js,这个是bootstrap对angularjs的封装 3、编写对话框模板 5、添加ng-click事件,如: <a href="javascript:;" ng-click="OpenDlg('lg' 阅读全文
posted @ 2016-09-14 22:16 Tclywork 阅读(1144) 评论(0) 推荐(0)
摘要:angular-auto-validate 地址:https://github.com/jonsamwell/angular-auto-validate 引用: <script src="/Assets/JS/AngularJS/angular-auto-validate/dist/jcs-auto 阅读全文
posted @ 2016-09-12 01:15 Tclywork 阅读(1290) 评论(0) 推荐(1)