
AngularJS插件
Inuyasha1121
这个作者很懒,什么都没留下…
展开
-
angularjs ng-grid 如何能自由调整某列宽度
var app = angular.module('app', [ 'ui.grid.resizeColumns']);$scope.gridOptions.enableColumnResizing = true;不邀自来,一共三步不要忘记。转自:https://www.zhihu.com/question/35907263/answer/118839898转载 2017-02-17 13:42:02 · 4689 阅读 · 0 评论 -
angular拖动插件——ng-drag、ng-drop
转自:http://blog.youkuaiyun.com/zcl_love_wx/article/details/516916311.相关地址:插件下载:https://github.com/fatlinesofcode/ngDraggable/blob/master/ngDraggable.jsdata-drag形式没用过,但找到了两个相关链接 http://codef0rme转载 2017-06-25 13:50:07 · 12589 阅读 · 1 评论 -
angular ui-grid之过滤器设置
var app = angular.module('app', ['ui.grid', 'ui.grid.edit']);app.controller('MainCtrl', ['$scope', '$http', function ($scope, $http) { $scope.gridOptions = { columnDefs: [ { field: 'name原创 2017-04-13 10:57:35 · 2883 阅读 · 1 评论 -
ui-grid 行编辑功能
原文:205 Row Edit Featureui.grid.rowedit 扩展了编辑功能, 以支持对服务器保存数据的回调, 该数据同时保存了 “行”。此功能尝试给用户一个类似于 电子表格 的体验, 以便他们可以编辑他们希望的任何字段, 并且该功能将试图保存数据 “行”。在数据不会产生错误的程度上, 从用户的角度来看, 保存过程几乎是无形的–保存后变灰色, 和不能编辑的灰色, 用户就像数转载 2017-04-28 15:39:29 · 3394 阅读 · 0 评论 -
angular下自动补全控件ui.bootstrap.typeahead
.typeahead-demo .custom-popup-wrapper { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; background-color: #f9f9f9; } .typeahead-demo .custom-popup-wra原创 2017-03-31 20:37:43 · 3513 阅读 · 0 评论 -
【AngularJs】ui-grid 使用详解
在ui-grid 导出pdf 时可能会出现中文字符无法显示问题,解决方法看这篇博客:http://my.oschina.net/gmd/blog/714911 html代码:html ng-app="myApp"> head> meta charset="utf-8"> title>ui-Grid Example01title转载 2017-02-15 08:26:35 · 8202 阅读 · 1 评论 -
angular ui-bootstrap的Datepicker Popup组件问题总结
转自:http://www.cnblogs.com/echo2016/p/5416572.html使用angular框架的时候,之前用的时间控件是引入My97DatePicker组件实现的,但是因为1.My97DatePicker样式不太好看以及偶尔会出现底部被遮盖的情况、点击不可编辑input框使用backspace按钮会出现格式不符合问题2.angular-转载 2017-02-23 18:52:52 · 8540 阅读 · 0 评论 -
angular-ui-tree
转自:http://www.cnblogs.com/crazyJavaBoy/p/5057347.htmlangular-ui-tree的github项目地址:https://github.com/angular-ui-tree/angular-ui-tree DEMO目录结构如下:bootstrap.css为3.0以上 app.css内容.转载 2017-02-20 16:26:16 · 3148 阅读 · 0 评论 -
angularjs之ui-bootstrap的使用
转自:http://blog.youkuaiyun.com/zsz459520690/article/details/501580451.新建uiBootstrap.html页面,引入依赖的js和css类库2.新建uiBootstrap.js文件,定义一个uiModule模块,引入依赖的模块/** * Created by zhong on 2015/9/7转载 2017-02-19 09:02:04 · 2218 阅读 · 0 评论 -
ui-grid 使用讲解
转自:https://my.oschina.net/gmd/blog/670895在ui-grid 导出pdf 时可能会出现中文字符无法显示问题,解决方法看这篇博客:http://my.oschina.net/gmd/blog/714911 html代码:html ng-app="myApp"> head> meta charset="utf-8转载 2017-02-18 19:41:21 · 9065 阅读 · 2 评论 -
AngularJS 路由:ng-route 与 ui-router
AngularJS的ng-route模块为控制器和视图提供了[Deep-Linking]URL。 通俗来讲,ng-route模块中的$routeService监测$location.url()的变化,并将它映射到预先定义的控制器。也就是在客户端进行URL的路由。 下面首先给出$route的使用示例,然后引入一个更加强大的客户端路由框架ui-router。Angular 路由在APP中定义多个页面的...转载 2018-03-26 15:45:08 · 504 阅读 · 0 评论