![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
angularjs
qq_27717857
这个作者很懒,什么都没留下…
展开
-
ngTagsInput自动完成标签的使用
placeholder="请输入用户信息..." display-property="fullname" replace-spaces-with-dashes="false" template="tag-template原创 2016-07-20 17:48:03 · 1552 阅读 · 2 评论 -
ionic 使用videogular播放视频
ionic 项目如果没有bower.json的话新建bower.json 命令:bower.init 1. 安装videogular,主题和其它插件bower install videogular videogular-themes-default videogular-controls videogular-buffering videogular-overlay-play video...原创 2018-06-22 17:34:54 · 3003 阅读 · 0 评论 -
angular-timer 单个页面设置多个倒计时
最近项目中要做个一元抢购倒计时功能,一个页面有多个倒计时。很是头疼,还好找到angular-timer插件,顿时轻松许多。做完顺便做下记录: 1.插件地址 https://github.com/siddii/angular-timer 在index中引入以下几个文件,并在app.js中注入timer lib/angular-timer.min.js li原创 2017-12-29 17:23:35 · 1998 阅读 · 0 评论 -
ionic 页面跳转动画
ionic 页面跳转动画问题全解决 1、问题描述: 在ionic1开发过程中,页面的跳转比较混乱,有的有动画(且方向不一致)有的没有动画,同一模块下的不同的导航标题带有动画,在用click事件在控制器里面$state.go()跳转的方式就没有动画;针对以上比较混乱的问题,书写这篇博客旨在解决问题,梳理ionic1页面跳转的问题。 2、正确页面跳转的现象:转载 2017-11-15 18:59:01 · 1325 阅读 · 1 评论 -
ionic 新闻分类停留在顶部
自定义directives: .directive('ionSticky', ['$ionicPosition', '$compile', '$timeout', function ($ionicPosition, $compile, $timeout) { return { restrict: 'A', require: '^原创 2017-11-07 19:26:20 · 523 阅读 · 2 评论 -
angularJS 指令封装回到顶部
关于angularJS如何回到顶部,还是直接code吧! 1.构建指令,使用registerDirective构建指令添加到内部的hasDirectives对象内,以方便后面在全局查找指令的时候进行匹配。 [javascript] view plain copy /** **回到顶部 **/ define(["app"],转载 2017-10-19 10:31:08 · 400 阅读 · 0 评论 -
angular-fullpage实现尾屏效果
接 前一篇 angular-fullpage实现全屏滚动 data-anchor="section2"> data-anchor="section3"> 修改jquery.fullpage.js 源代码performMovement方法,因为之前设置了css3为false,所以进到else中修改滚动原创 2017-08-25 15:44:07 · 522 阅读 · 0 评论 -
angularjs fullpage全屏滚动插件
1.bower 安装 bower install --save angular-fullpage.js 2.index.html引入 3.directives 自定义指令 var aciAPP = angular.module('aciAPP', [ 'ui.router']) aciAPP.directive('fullPage', fullP原创 2017-08-15 12:16:17 · 703 阅读 · 0 评论 -
angularjs跑马灯 使用jquery.liMarquee.js
1.将下载好的jquery.min.js,jquery.liMarquee.js在index.html引入, 2.自定义directive,这里以向左滚动为例,因为自己项目中还需要点击暂停,再次点击继续滚动功能。所以加了个num .directive('marqueeLeft',[function(){ return { link: function(scope原创 2017-06-03 10:34:14 · 1577 阅读 · 0 评论 -
angularjs手机webapp 利用input拍照,图库选择上传图片
1.html ATM会员 2.directive .directive('fileModel', ['$parse', function ($parse) { return {原创 2017-06-07 11:13:05 · 1335 阅读 · 0 评论 -
ionic 购物车全选,单选
1.html 全选 {{item.classify}} 2.controller $scope.data={ checkedAll:'' } $scope.classifyList=[{ id:1, classify:'手机数码' },{ id:2,原创 2017-02-22 10:49:25 · 858 阅读 · 0 评论 -
关于angularJS自动转义html标签
方案一. html: {{article.title}} javascript: success(function (data) {原创 2016-07-20 17:39:08 · 2808 阅读 · 0 评论 -
angularjs angular-bootstrap-lightbox插件点击截图放大到原始尺寸功能
1.bower或者npm安装插件:bower install angular-bootstrap-lightbox --save npm install angular-bootstrap-lightbox --save 2.index.html内添加 3.app.js注入 angular.module('app', ['bootst原创 2016-09-22 16:49:51 · 1434 阅读 · 0 评论 -
$cordovaFileTransfer.upload 上传文件异常filetransferError code 3
解决:options.headers = { Connection: "close", }原创 2018-06-01 15:16:48 · 2880 阅读 · 2 评论