大约有 1,754 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1359) Laya3.0_api(153) laya_api(106) Laya2.0_api(99) Laya2.0_文档(15) Laya3.0_文档(9) Laya2.0_示例(7) Laya_示例(6)
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 Eve...
来源: laya_api 发布时间: 20170929
Laya.EventDispatcher off 删除侦听器 var eventDis = new Laya.EventDispatcher() eventDis.on('TEST_EVENT_DIS', this, someEventHandler, null) eventDis.off('TEST_EVENT_DIS', this, another_eventHandler, false) off 怎样才能 从 EventDispatcher 对象中删除侦听器? ...
来源: Laya_社区 发布时间: 20180914
...p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatche...
来源: Laya3.0_api 发布时间: 20231115
...ron 赞同来自: off 移除监听 * 从 EventDispatcher 对象中删除侦听器。 * @param type 事件的类型。 * @param caller 事件侦听函数的执行域。 * @param listener 事件侦听函数。 ...
来源: Laya_社区 发布时间: 20180314
...p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatche...
来源: Laya3.0_api 发布时间: 20231115
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 Eve...
来源: laya_api 发布时间: 20170929
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 Eve...
来源: laya_api 发布时间: 20170929
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 Eve...
来源: Laya2.0_api 发布时间: 20190513
...ean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 Eve...
来源: laya_api 发布时间: 20170603
...p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatche...
来源: Laya3.0_api 发布时间: 20231115