大约有 85 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...nerHeight; 即可 修改后的laya.core.js,先定位到21176行window.addEventListener("resize",function(){ setTimeout(function(){ var orientation=Browser.window.orientation; if (orientation !=null && orientation !=_$this._previousOrientation && _me._isInputting()){ Input["input...
来源: Laya_社区 发布时间: 20190515
...ain extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_L...
来源: Laya_社区 发布时间: 20151106
...(去掉了bitmap 只保留精简的 sprite ) 啰嗦的 laya 改进(addEventListener removeEventListener 使用 Handler 可以在监听时传参 ) 一切都是那么用心 同学们 未来一定是属于laya的! 2018-12-18 4 条评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20181218
...xhr.responseType = 'blob'; // 监听下载过程中的 progress 事件 xhr.addEventListener('progress', function (event: any) { if (event.lengthComputable) { // 计算下载的百分比 var percent = (event.loaded / event.total) * 100; console.log('下载进度: ' + percent.toFixed(2) + '%'); } }); ...
来源: Laya3.0_文档 发布时间: 20251010
...Type = function (value) { }; node.setFontFace = function (value) { }; node.addEventListener = function (value) { }; node.contains = function (value) { return null; }; node.removeChild = function (value) { }; return node; } static createShaderCondition(conditionScript) { var func = function () { retu...
来源: Laya_社区 发布时间: 20200103