大约有 191 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0032 秒)
Laya_社区(110) laya_api(29) Laya2.0_api(27) Laya3.0_文档(7) Laya2.0_文档(6) Laya3.0_api(4) Laya2.0_示例(4) Laya_示例(4)
...aair2-cmd compile 有bug layaair2-cmd compile [22:15:17] Working directory changed to /usr/local/lib/node_modules/layaair2-cmd fs.js:27 const { Math, Object } = primordials; ^ ReferenceError: primordials is not defined at fs.js:27:26 at req_ (/usr/lo...
来源: Laya_社区 发布时间: 20210420
...rientation', function(event) {}) Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation); 连接打开方式都由微信扫一扫打开,safari不支持此demo运行 查找到资料地址: https://caniuse.com/#search=deviceorientation ios测试微信浏览器页面地址...
来源: Laya_社区 发布时间: 20191202
...istening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gulp.js:8 laya_ide_time.require.single.semver...
来源: Laya_社区 发布时间: 20200607
...estMap4\testMap2WX> layaair2-cmd compile [18:00:34] Working directory changed to ~\Documents\testMap4\testMap2WX\.laya [18:00:34] Using gulpfile ~\Documents\testMap4\testMap2WX\.laya\compile.js C:\Users\huangxuejie\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\_gulp@3.9.1@gulp\bi...
来源: Laya_社区 发布时间: 20200513
...); } this.btn.name=index.toString(); this.uiCtrl=uiCtrl; this.btn.on("change",()=>{ switch(this.btn.name.trim()){ case "0":{ if(this.btn.selected){ this.btn.skin="resources/ui/目录2.png"; let modelCtrl:ModelCtrl =Laya.stage.getChildByName("Scene3D").getCo...
来源: Laya_社区 发布时间: 20241014
编译时报错 [16:24:15] Working directory changed to D:\tools\LayaAirIDE_beta2.5\resources\app [16:24:15] Using gulpfile D:\workspace\Test_2_5_1\.laya\compile.js [16:24:15] Starting 'layacompile'... [16:24:16] Finished 'layacompile' after 634 ms [16:24:16] Starting 'compile'... [1...
来源: Laya_社区 发布时间: 20200311
...编译 -------------------------------------- [10:29:49] Working directory changed to C:\Program Files (x86)\LayaAirIDE_beta\resources\app [10:29:49] Using gulpfile ~\Documents\myLaya\myLayaEmpty\.laya\gulpfile.js [10:29:49] Starting 'default'... 出错了: TypeScript error: ../../../node_modules/...
来源: Laya_社区 发布时间: 20180927
...00" id="canvas"></canvas> </body> <script> $("#file").change(function (){ var file = new FileReader();//读取文件2进制 file.onload = function(e){ var base64 = e.target.result; var img = new Image();//创建一个图片对象 img.onload = function (){ var canvas = $("#canvas...
来源: Laya_社区 发布时间: 20170111
...错了: level=1, code=-1, info1=Execute JS Error![TypeError: Attempting to change the setter of an unconfigurable property.]: line = 1075, column = 24, sourceURL = /Users/tsubasa/Library/Developer/CoreSimulator/Devices/565D33C9-E1BA-42BF-87C3-3282FD83F6C5/data/Containers/Bundle/Application/38D2253A-...
来源: Laya_社区 发布时间: 20180328
...x修改的是_selectedIndex值和对选中状态的显示和隐藏,派发change事件,调用selectHandler。 为什么要对List重新渲染。如果我的list里的子项内容修改了,但是selectedIndex重新渲染List,那么修改过的子项不是就变回最初的内容。那不就是...
来源: Laya_社区 发布时间: 20171018