![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Laya
唯一不二
经历教会了我们成长
展开
-
laya面试题
项目经验:做过哪些模块,典型的业务模块如何实现,版本更新1.闭包,闭包就是一个函数,这个函数能够访问其他函数的作用域中的变量、Function里面套functionfunction outer() {var name: "object",var getName= function() {console.info(this.name)}}var inner = outer() inner() 2.var...原创 2020-07-12 23:05:58 · 3103 阅读 · 0 评论 -
index.html和ts交互
(一)ts 传值给html ts调用html里的方法index.html<script type="text/javascript">function Read(url){ console.log("这是html里",url) }</script> GameMain.tsconstructor() { window["R...原创 2020-04-14 14:29:06 · 5193 阅读 · 1 评论