• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 104 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0061 秒)

21. 如何监听移动端软键盘的弹出和收回? [ 83%]

...h=200; textInput.x=100; textInput.y=200; addChild(textInput); textInput.addEventListener(FocusEvent.FOCUS_IN,onFocusIn); textInput.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut); private function onFocusIn(event:FocusEvent):void { textInput.text="你的键盘打开了"; } private function onFocus...

来源: Laya_社区 发布时间: 20151225

22. Scence3D.input事件监测不到触摸数量 [ 83%]

...哈 遮罩点击事件 为什么给Sprite容器添加点击事件没反应 event自定义事件的问题 真机环境找不到window---cant find variable: window stack 微信小游戏与加载图片时不会触发erroe事件 问题状态 最新活动: 2019-08-10 09:57 浏览: 1716 关注: 2 人

来源: Laya_社区 发布时间: 20190809

23. laya.events.Event_API3.0 [ 82%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget...

来源: Laya3.0_api 发布时间: 20231115

24. laya.events.Event [ 82%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventProperties | Methods | Constants Packagelaya.eventsClasspublic dynamic class EventInheritanceEvent Object Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器...

来源: Laya2.0_api 发布时间: 20190513

25. laya.events.Event [ 81%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventProperties | Methods | Constants Packagelaya.eventsClasspublic dynamic class EventInheritanceEvent ObjectSubclasses UIEvent Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递...

来源: laya_api 发布时间: 20170929

26. TextInput怎么执行focus()? [ 81%]

...ent.getElementById('test'), btn = document.querySelector('button'); btn.addEventListener('click', function(){ let int = document.createElement('input'); int.type = 'text'; document.body.appendChild(int); // input.focus(); int.focus(); })我这样是可以直接直接打开键盘的,只要放到引...

来源: Laya_社区 发布时间: 20180919

27. laya.ui.UIEvent [ 81%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

来源: Laya2.0_api 发布时间: 20190513

28. TextInput 在panle里滚动后输入位置错乱,求解 [ 81%]

...-25 0 6 分享 微博 QZONE 微信 水晶 赞同来自: this.input.on(Laya.Event.FOCUS,this,()=>{ this.board.scrollPane.touchEffect = false; }) this.input.on(Laya.Event.BLUR,this,()=>{ this.board.scrollPane.touchEffect = true; }) 2019-03-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

来源: Laya_社区 发布时间: 20180612

29. laya.ui.UIEvent [ 80%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170929

30. laya.net.Socket_API3.0 [ 80%]

... Socket 对象。 Socket 以异步方式传输和接收数据。 Hierarchy EventDispatcher Socket Index Constructors constructor Properties disableInput protocols BIG_ENDIAN LITTLE_ENDIAN Accessors connected endian input output Methods cleanSocket close connect connectByUrl event flush hasListener o...

来源: Laya3.0_api 发布时间: 20231115