上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

2014年9月16日

AngularJS 基础用法

摘要: 判断语句:you are a boyyou are a girlyou may be a fatheryou may be a mother过滤器:$scope.childrenArray = [ {name:'kimi',age:3}, {name:'cindy',ag... 阅读全文

posted @ 2014-09-16 20:42 yujian_bcq 阅读(271) 评论(0) 推荐(0) 编辑

2014年9月6日

js date相关学习!

摘要: var myDate = new Date(); myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-1... 阅读全文

posted @ 2014-09-06 16:41 yujian_bcq 阅读(115) 评论(0) 推荐(0) 编辑

2014年8月29日

android 数据存储分配的一些事

摘要: 应用程序在运行的过程中如果需要向手机上保存数据,一般是把数据保存在SDcard中的。大部分应用是直接在SDCard的根目录下创建一个文件夹,然后把数据保存在该文件夹中。这样当该应用被卸载后,这些数据还保留在SDCard中,留下了垃圾数据。如果你想让你的应用被卸载后,与该应用相关的数据也清除掉,该怎么... 阅读全文

posted @ 2014-08-29 11:56 yujian_bcq 阅读(184) 评论(0) 推荐(0) 编辑

2014年8月26日

angularjs model.service vs provider vs factory?

摘要: JS Bin {{serviceOutput}} {{factoryOutput}} {{providerOutput}} 生成结果:myService = [object Object] myFactory = Hello from ... 阅读全文

posted @ 2014-08-26 11:37 yujian_bcq 阅读(208) 评论(0) 推荐(0) 编辑

2014年7月22日

angularJS 判断

摘要: 判断语句:ng-switch onng-switch-whenng-switch-whenng-if=”person.sex==1“you are a boyyou are a girl {{person.Name}} ... 阅读全文

posted @ 2014-07-22 16:30 yujian_bcq 阅读(724) 评论(0) 推荐(0) 编辑

2014年7月20日

zepto.js 学习之(一)

摘要: 中文文档:http://mweb.baidu.com/zeptoapi/#attr 阅读全文

posted @ 2014-07-20 15:08 yujian_bcq 阅读(107) 评论(0) 推荐(0) 编辑

2014年7月12日

angularJS Directive学习

摘要: Directive指令直接上实例index.html Drag ME I am Directive script.js:var dragDir=angular.module('drag', []);dragDir.directive("enter", fu... 阅读全文

posted @ 2014-07-12 16:26 yujian_bcq 阅读(383) 评论(0) 推荐(0) 编辑

2014年7月8日

AngularJS继续中

摘要: //全局中引用对应于PhoneListCtrl 模板 {{pho.name}} {{pho.snippet}} //div里面的作用域 myapp ... 阅读全文

posted @ 2014-07-08 17:23 yujian_bcq 阅读(202) 评论(0) 推荐(0) 编辑

AngularJS 从零开始学习(一)

摘要: 什么是AngularJS?AngularJS是一个把HTML(视图)绑定到JavaScript对象(模型)上的框架。当模型改变时,页面也能自动随之更新,反之亦然。当某个域的内容发生变化时,与之关联的模型也能更新。正因为Angular处理了所有的中间代码,所以你不用像jQuery那样,手动更新HTML... 阅读全文

posted @ 2014-07-08 11:24 yujian_bcq 阅读(375) 评论(0) 推荐(0) 编辑

2014年7月4日

html5 之本地数据存储

摘要: HTML5 提供了两种在客户端存储数据的新方法:localStorage - 没有时间限制的数据存储sessionStorage - 针对一个 session 的数据存储cookie与webStorage的对比:cookie的缺陷是非常明显的1. 数据大小:作为存储容器,cookie的大小限制在4K... 阅读全文

posted @ 2014-07-04 16:21 yujian_bcq 阅读(219) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

导航