大约有 1,693 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1214) Laya3.0_api(158) laya_api(110) Laya2.0_api(104) Laya2.0_文档(51) Laya3.0_文档(27) Laya_示例(15) Laya2.0_示例(14)
...IEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 ...
来源: laya_api 发布时间: 20170929
...IEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 ...
来源: Laya2.0_api 发布时间: 20190513
... Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget delta isDblClick nativeEvent target touc...
来源: Laya3.0_api 发布时间: 20231115
...blic dynamic class EventInheritanceEvent ObjectSubclasses UIEvent Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是...
来源: laya_api 发布时间: 20170929
...laya.eventsClasspublic dynamic class EventInheritanceEvent Object Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是...
来源: Laya2.0_api 发布时间: 20190513
...议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null) 创建新的 Socket 对象。默认字节序为 So...
来源: laya_api 发布时间: 20170929
...议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null, protocols:Array = null) 创建新的 Socket 对象...
来源: Laya2.0_api 发布时间: 20190513
[0]Event.Mouse_Drag和Event.Mouse_Drag_End在不注册鼠标事件的情况下无法 const MOUSE_EVENTS = new Set([ Event.MOUSE_DOWN, Event.MOUSE_UP, Event.MOUSE_MOVE, Event.CLICK, Event.DOUBLE_CLICK, Event.RIGHT_CLICK, Event.RIGHT_MOUSE_DOWN, Event.RIGHT_MOUSE_UP, ...
来源: Laya_社区 发布时间: 20231106
Event.DRAG_MOVE事件的回调函数中不能拿到event对象是怎么回事? Event.DRAG_MOVE事件的回调函数中不能拿到event对象是怎么回事? 在官方示例中加入以下代码即可复现。 ape.on(Laya.Event.DRAG_MOVE, this, onDragMove); function onDragMove(e){ alert(e) } 20...
来源: Laya_社区 发布时间: 20171122
...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...
来源: Laya3.0_api 发布时间: 20231115