大约有 210 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(166) Laya3.0_文档(10) Laya2.0_api(9) laya_api(7) Laya3.0_api(7) Laya2.0_文档(7) Laya2.0_示例(2) Laya_示例(2)
...应就强制踢掉。我发现iOS11的微信虽然不会触发websocket的close,但也无法进行收发。 web这块我不是很熟,不知道laya能否提供当前webview是否在前台运行的判断?
来源: Laya_社区 发布时间: 20171215
...type; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya.Dialog(); this.diango.width = Laya.stage.width; this.diango.height = Laya.stage.height; var loading_array = []; for(var i = 1; i < 28; i++ ){ loading_array.push('loading/'+...
来源: Laya_社区 发布时间: 20171107
.../实例 New window/instance | | `Ctrl + Shift + W` | 关闭窗口/实例 Close window/instance | | `Ctrl+X` | 剪切行(空选定) Cut line (empty selection) | | `Ctrl+C` | 复制行(空选定)Copy line (empty selection) | | `Alt+ ↑ / ↓` | 向上/向下移动行 Move line up/down | | `Sh...
来源: Laya2.0_文档 发布时间: 20210715
.../实例 New window/instance | | `Ctrl + Shift + W` | 关闭窗口/实例 Close window/instance | | `Ctrl+X` | 剪切行(空选定) Cut line (empty selection) | | `Ctrl+C` | 复制行(空选定)Copy line (empty selection) | | `Alt+ ↑ / ↓` | 向上/向下移动行 Move line up/down | | `Sh...
来源: Laya2.0_文档 发布时间: 20210715
... constructor() { super(); console.log(" Here is DlgNote2"); this.closeEffect = null; this.closeBtn.on(Laya.Event.CLICK, this, this.toClose); //this.show(); } b的关闭方法: toClose():void{ //Laya.Scene.open("datiPage.scene"); this.close(); } a和b都是独立的ts类, expo...
来源: Laya_社区 发布时间: 20190521
..., receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(event){ //正确建立连接 this.socket.send('foo','OOOO'); } function receiveHandler(msg){...
来源: Laya_社区 发布时间: 20180509
.../实例 New window/instance | | `Ctrl + Shift + W` | 关闭窗口/实例 Close window/instance | | `Ctrl+X` | 剪切行(空选定) Cut line (empty selection) | | `Ctrl+C` | 复制行(空选定)Copy line (empty selection) | | `Alt+ ↑ / ↓` | 向上/向下移动行 Move line up/down | | `Sh...
来源: Laya2.0_文档 发布时间: 20210714
...'comp/button.png'); button.label='Hello World!'; button.name = Laya.Dialog.CLOSE; button.width=260; button.height=500; button.pos(35, 35); dialog.addChild(button); dialog.dragArea = '0,0,300,600'; dialog.show(); } onEnable() { this.btnShow.on(Laya.Event.CLICK,this,this.onBtnShowClick); } onDisable()...
来源: Laya_社区 发布时间: 20190117
...e=True): editfile = open(filepath, "r") content = editfile.read() editfile.close() if backuporiginalfile: shutil.copy(filepath, filepath + ".bak") return content def savefilewithnewcontent(content, filepath): editfile = open(filepath, "w") editfile.write(content) editfile.close() def inserttextintof...
来源: Laya_社区 发布时间: 20170418
...enum class LogLevel { Debug = 5, Info = 4, Warn = 3, Error = 2, Fatal = 1, Close = 0, }; 在js脚本中,开发者可以通过以下函数设置日志级别,默认值为5: if( window.conch ) { //值为0:表示关闭所有日志输出 //值为1:表示只有Fatal日志输出 //值为2:表示...
来源: Laya3.0_文档 发布时间: 20251010