• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,758 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0133 秒)

311. TextInput怎么执行focus()? [ 68%]

...t'), btn = document.querySelector('button'); btn.addEventListener('click', function(){ let int = document.createElement('input'); int.type = 'text'; document.body.appendChild(int); // input.focus(); int.focus(); })我这样是可以直接直接打开键盘的,只要放到引擎里面就打不开...

来源: Laya_社区 发布时间: 20180919

312. laya.ani.AnimationPlayer_API3.0 [ 68%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

来源: Laya3.0_api 发布时间: 20231115

313. 播放声音,报错 [ 68%]

...正在播放的背景音乐 导微信小程序报错window.focus is not a function 用了ByteArray的zlib.min.js后报错 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 视频播放案例 问题状态 最新活动: 2018-04-04 21:06 浏览: 851 关注: 2 ...

来源: Laya_社区 发布时间: 20180404

314. 分享:SWF LABEL标签的使用! [ 68%]

....events.Event; public class SwfLabelUse { private var mc:MovieClip; public function SwfLabelUse() { Laya.init(600,600); Laya.stage.bgColor="#EEFFCC"; mc=new MovieClip(); mc.load("output/AAA.swf"); mc.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(mc); } private function onLoaded():void { mc.add...

来源: Laya_社区 发布时间: 20170705

315. laya.resource.TextResource_API3.0 [ 68%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

316. 小白第一个hello 浏览器报错 [ 68%]

...中文的json文件 报错 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2021-03-23 12:26 浏览: 58 关注: 1 人

来源: Laya_社区 发布时间: 20210323

317. 开放数据域报错 [ 68%]

...持的标签</SCRIPT> 导微信小程序报错window.focus is not a function IDE通过.ui自动生成的ui代码报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 2.2.0beta4,微信上动态合批报错. 官网示例摇一摇报错,就解决方案 微信小游...

来源: Laya_社区 发布时间: 20180507

318. 网页调试崩溃了 [ 68%]

...am {constructor: , Symbol(Symbol.toStringTag): "WebGLProgram"} constructor:function WebGLProgram() { … } [[Scopes]]:Scopes[0] arguments:null caller:null length:0 name:"WebGLProgram" prototype:WebGLProgram {constructor: , Symbol(Symbol.toStringTag): "WebGLProgram"} constructor:function WebGLProgram...

来源: Laya_社区 发布时间: 20180822

319. 这一段代码是怎么编译生产的 [ 68%]

...Source *@return 是否创建 */ __getset(0,__proto,'enableMerageInAtlas',function(){ return this._enableMerageInAtlas; },function(value){ this._enableMerageInAtlas=value; }); 1.__getset方法 2018-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20180316

320. 想用js写一个什么也不继承的类,但每次实例化这个类的时候会报错,是不是这个类写得不对呀 [ 68%]

...这个类的时候会报错,是不是这个类写得不对呀 var Test = (function(_super){ function Test(){         Test.super(this);         console.log("执行测试构造函数"); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. retur...

来源: Laya_社区 发布时间: 20180605