摘要: javascript 的组成部分 - DOM (document object model) 文档对象模型 - BOM (browers object model) 浏览器对象模型 - ECMAScript js 的核心 BOM 下五大对象 ### window 对象 - innerWidth/in 阅读全文
posted @ 2020-12-22 15:24 zhaoyzml 阅读(63) 评论(0) 推荐(0) 编辑
摘要: create-react-app: https://facebook.github.io/create-react-app/docs/getting-started Apollo:https://www.graphql.college/building-a-github-client-with-re 阅读全文
posted @ 2018-12-29 14:12 zhaoyzml 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 其他的鼠标事件影响了pointerclick,在new joint.dia.Paper时设置clickThreshod属性为1(或是大于0的数字),允许其他鼠标事件之后仍触发pointerclick事件。 阅读全文
posted @ 2018-12-21 14:13 zhaoyzml 阅读(811) 评论(0) 推荐(0) 编辑
摘要: 在本地项目目录输入命令 npm run build,成功之后运行run-local.sh脚本。在run-local.sh的目录下输入命令./run-local.sh,这样会重启一个项目,我们可以在这里看是否有问题。 阅读全文
posted @ 2018-12-21 10:53 zhaoyzml 阅读(2500) 评论(0) 推荐(0) 编辑
摘要: 最近在工作中接触到了Promise和Ref,两个很重要的知识点,是我们前端的必备技能(But i just learned about it),记录一下学习过程~ Promise 在Javascript中,我们经常需要实现异步执行,通常,我们会使用嵌套的回调函数解决。但是对于一些复杂的问题,用回调函 阅读全文
posted @ 2018-12-20 10:53 zhaoyzml 阅读(566) 评论(0) 推荐(0) 编辑
摘要: --用更少的代码,更短的编译时间,创建运行更快的程序,享受更多的乐趣-- 什么是Golang Golang是谷歌创建的,开放源代码、编译型和静态类型的编程语言。 Golang 的主要关注点在使开发高可用和可伸缩的web应用程序更加简单和容易。 Golang最主要的特性 自动垃圾回收 更丰富的内置类型 阅读全文
posted @ 2018-10-10 12:22 zhaoyzml 阅读(194) 评论(0) 推荐(0) 编辑