上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 39 下一页

2018年7月26日

es6 扩展运算符 三个点(...)

摘要: https://blog.csdn.net/qq_30100043/article/details/53391308 阅读全文

posted @ 2018-07-26 23:04 童彪 阅读(136) 评论(0) 推荐(0) 编辑

vue-cli 上手

摘要: 1.cnpm install --global vue-cli 安装脚手架 2.vue init webpack baoge 创建 3.选择配置项 Project name (baoge): 项目名称,直接回车,按照括号中默认名字(注意这里的名字不能有大写字母,如果有会报错Sorry, name c 阅读全文

posted @ 2018-07-26 22:37 童彪 阅读(105) 评论(0) 推荐(0) 编辑

vue 引入bootstarp --webpack

摘要: 注意对应好版本 - 稳定版本 :"bootstrap": "^3.0.0" 否则样式异常, 1.npm install jquery --save-dev 引入jquery。2.// 增加一个plugins 3.import $ from 'jquery' 4.安装bootstrap,使用命令npm 阅读全文

posted @ 2018-07-26 22:06 童彪 阅读(333) 评论(0) 推荐(0) 编辑

2018年7月25日

egret-初步接触

摘要: class HelloTime extends egret.DisplayObjectContainer { public constructor() { super(); this.addEventListener(egret.Event.ADDED_TO_STAGE, this.onAddToStage, this); } priva... 阅读全文

posted @ 2018-07-25 23:31 童彪 阅读(270) 评论(0) 推荐(0) 编辑

egret -纹理集的制作

摘要: 1. 理集的使用 :http://www.codeandweb.com/ 下载软件: TexturePackergithub: 相关工具:https://github.com/ping-chen/egret-tool 2. 阅读全文

posted @ 2018-07-25 23:30 童彪 阅读(237) 评论(0) 推荐(0) 编辑

ajax 继承重写

该文被密码保护。 阅读全文

posted @ 2018-07-25 18:08 童彪 阅读(4) 评论(0) 推荐(0) 编辑

2018年7月24日

数组去重的三种方法 es6

摘要: [1,2,3,4,5,6,7,8,9,2,2,3,3,4,1].filter(function(el,index,arr){ return (index === arr.indexOf(el)); }) 阅读全文

posted @ 2018-07-24 20:44 童彪 阅读(152) 评论(0) 推荐(0) 编辑

2018年7月22日

Egret - timer

摘要: 相关:http://edn.egret.com/cn/index.php/article/index/id/154 1.Timer 的使用方法非常简单,我们只需要关心两个属性,三个方法和两个事件即可。 两个属性分别是 delay 与 repeatCount ,两个属性分别表示每次间隔的时间(以毫秒为 阅读全文

posted @ 2018-07-22 12:18 童彪 阅读(373) 评论(0) 推荐(0) 编辑

2018年7月21日

Egret 工具推荐

摘要: Egret 工具推荐--打造最好的开发环境--IDE篇http://bbs.egret.com/forum.php?mod=viewthread&tid=13581&fromuid=173980(出处: Egret社区) 阅读全文

posted @ 2018-07-21 22:44 童彪 阅读(166) 评论(0) 推荐(0) 编辑

2018年7月20日

typscript 语法1

摘要: let isDone: boolean = false; let decLiteral: number = 0xf00d; let names: string = 'boob'; /** 使用模版字符串 */ let name1: string = `gene`; let age: number = 37; let sentence = `Hello, my name is ${name1}I'... 阅读全文

posted @ 2018-07-20 19:45 童彪 阅读(221) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 39 下一页

导航