大约有 32 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
...erver msg: tom"); }; ws.onmessage = function(e) { alert("accpet msg: " + e.data); }; ws.onerror = function(e) { alert("error: " + e); console.log(e) }; </script> </body> </html> 这是app设置的url所对应的html文件,在web端是能连上socket的,app里面就连不上 ...
来源: Laya_社区 发布时间: 20181018
...//developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 需要注意的是,IOS环境下,该值始终为false。即使如此,你依旧可以从alpha中取得正确的值。 alpha alpha: number Defined in laya/device/motion/RotationInfo.ts:19 Z轴旋转角度...
来源: Laya3.0_api 发布时间: 20231115
...类型如下: - `ArrayBuffer` - `Blob` - `Document` - `DOMString` - `FormData` - `null` #### setRequestHeader() 给指定的HTTP请求头赋值.在这之前,你必须确认已经调用 [`open()`](https://developer.mozilla.org/zh-CN/docs/Web/API/XMLHttpRequest#open) 方法打开了一个url. ### ...
来源: Laya2.0_文档 发布时间: 20210714
...类型如下: - `ArrayBuffer` - `Blob` - `Document` - `DOMString` - `FormData` - `null` #### setRequestHeader() 给指定的HTTP请求头赋值.在这之前,你必须确认已经调用 [`open()`](https://developer.mozilla.org/zh-CN/docs/Web/API/XMLHttpRequest#open) 方法打开了一个url. ### ...
来源: Laya2.0_文档 发布时间: 20210715
...类型如下: - `ArrayBuffer` - `Blob` - `Document` - `DOMString` - `FormData` - `null` #### setRequestHeader() 给指定的HTTP请求头赋值.在这之前,你必须确认已经调用 [`open()`](https://developer.mozilla.org/zh-CN/docs/Web/API/XMLHttpRequest#open) 方法打开了一个url. ### ...
来源: Laya2.0_文档 发布时间: 20210715
...//developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Constructors constructor Accesso...
来源: Laya3.0_api 发布时间: 20231115
...lities:default@PreBuild... > hvigor Finished :entry:default@GenerateMetadata... after 3 ms > hvigor Finished :entry:default@PreCheckSyscap... after 1 ms > hvigor Finished :entry:default@GeneratePkgContextInfo... after 1 ms > hvigor Finished :entry:default@ProcessIntegratedHsp... after 1 ...
来源: Laya_社区 发布时间: 20250106
...屏 * 开发者可以在任意想录屏的点调用该方法。 * @param data{ duration:60} * 这里的60表示为60秒后自动停止录屏, * API里默认最大可设置300秒,如果不设置,默认是10秒。 */ start(data: any = { duration: 60 }): void { //判断是否为字节小游戏环...
来源: Laya2.0_文档 发布时间: 20210715
...bXR/core/WebXRSessionManager.ts:172 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是...
来源: Laya3.0_api 发布时间: 20231115
...09 20:50:15.598 ZhuaWawa[2531:1863829] setCachePath:/var/mobile/Containers/Data/Application/1BB9B6D6-4FF0-4A51-9504-EDDD8FD5E2C3/Library/Caches//appCache/ 2018-01-09 20:50:15.600 ZhuaWawa[2531:1863829] read index:/var/mobile/Containers/Data/Application/1BB9B6D6-4FF0-4A51-9504-EDDD8FD5E2C3/Library/Ca...
来源: Laya_社区 发布时间: 20180109