大约有 313 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0043 秒)
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...这意味着,一旦建立连接后,双方都可以随时主动发送和接收数据,而不需要像传统的 HTTP 协议那样每次都重新建立连接和等待请求响应。 1.1 背景与起源 在 WebSocket 出现之前,实现客户端与服务器的实时通信通常采用轮询或长...
来源: Laya3.0_文档 发布时间: 20250214
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231102
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事...
来源: laya_api 发布时间: 20170929
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...ll):EventDispatcher[override] 增加事件侦听器,以使侦听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node once(typ...
来源: laya_api 发布时间: 20170929
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.on Defined in laya/events/EventDis...
来源: Laya3.0_api 发布时间: 20231115
...er 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事...
来源: Laya2.0_api 发布时间: 20190513
为什么SOCKET接收数据BYTE内存会越来越大 接收数据_msgByte每次都调用clear(),且每次接收的数据大小是一致的; 但在google监视内存发现内存越来越大 private receiveHandler(msg: any = null): void { ///接收到数据触发函数 this._msgByte.clear(); this._...
来源: Laya_社区 发布时间: 20171214