上一页 1 ··· 7 8 9 10 11

2019年6月26日

摘要: 1.创建组件(命令) ng g component my-new-component 指定目录创建 :ng g component components/Footer 2.组件的引用(.html文件中引用) <app-header></app-header> 3.数据绑定(属性绑定) 在ts文件中定 阅读全文

posted @ 2019-06-26 14:20 colson.zhao 阅读(555) 评论(0) 推荐(0)


2019年6月25日

摘要: js闭包: https://www.cnblogs.com/duanlianjiang/p/5036671.html 箭头函数解决this作用域的问题 https://blog.csdn.net/weixin_37643633/article/details/78559293 https://www 阅读全文

posted @ 2019-06-25 11:59 colson.zhao 阅读(133) 评论(0) 推荐(0)


2019年6月24日

摘要: 一、 目录结构分析 hooks:编译cordova 时自定义的脚本命令,方便整合到我们的编译系统和版本控制系统中。 转载 目录分析:https://blog.csdn.net/qq_39268193/article/details/87857267 node_modules :node 各类依赖包。 阅读全文

posted @ 2019-06-24 19:41 colson.zhao 阅读(469) 评论(0) 推荐(0)

摘要: 1.什麽是ionic? Ionic 是一款基于Angular、Cordova 的强大的HTML5 移动应用开发框架, 可以快速创建一个跨平台的移动应用。可以快速开发移动App、移动端WEB 页面、微信公众平台应用,混合app web 页面。 ionic = Cordova + Angular + i 阅读全文

posted @ 2019-06-24 19:01 colson.zhao 阅读(128) 评论(0) 推荐(0)


2019年6月20日

摘要: 1.基本用法 let [a, b, c] = [1, 2, 3];左右两边解构格式要保持一致。 2.默认值 let [x, y = 'b'] = ['a']; // x='a', y='b' let [x, y = 'b'] = ['a', undefined]; // x='a', y='b' 3 阅读全文

posted @ 2019-06-20 19:06 colson.zhao 阅读(259) 评论(0) 推荐(0)


2019年6月19日

摘要: 1.let类似于var用用来定义变量 1)let没有预解析,不存在变量提升 // var 的情况 console.log(foo); // 输出undefined var foo = 2; // let 的情况 console.log(bar); // 报错ReferenceError let ba 阅读全文

posted @ 2019-06-19 19:15 colson.zhao 阅读(220) 评论(0) 推荐(0)

摘要: 1.FormCodePoint 对象方法 用于从 Unicode 码点返回对应字符,可以识别原来es5不能识别的大于0xFFFF的码点。 String.fromCodePoint(0x20BB7) // "𠮷"2.codePointAt 实例方法 let s = '𠮷a'; for (let c 阅读全文

posted @ 2019-06-19 11:27 colson.zhao 阅读(172) 评论(0) 推荐(0)


上一页 1 ··· 7 8 9 10 11

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3