大约有 420 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
...= true; _mapSprite.hitTestPrior = true; Laya.stage.focus = _mapSprite; let event = _mapSprite.on(Laya.Event.CLICK, this, () => { LogUtil.w("响应点击事件") }) } 尝试使用focus 好像也没有响应 请问大佬们...
来源: Laya_社区 发布时间: 20220929
...入框里输入文字而不需要再点击TextInput获取焦点;类似js的focus(),好像TextInput没有获取焦点的方法,只有Laya.Event.BLUR加回调 Laya_Aaron • 2017-12-14 19:00 刚看懂你的需求。。。 是点击一个按钮 让textinput输入区域被选中,闪烁光标 Laya_...
来源: Laya_社区 发布时间: 20171214
...re e', e); } 返回的信息: Event _stoped: false currentTarget: Stage {focus: null, designWidth: 1307, designHeight: 758, canvasRotation: false, canvasDegree: 0, …} nativeEvent: MouseEvent {isTrusted: true, screenX: 906, screenY: 460, clientX: 457, clientY: 278, …} target: Stage {focus: null...
来源: Laya_社区 发布时间: 20181022
...tring = error[static] 定义 error 事件对象的 type 属性值。Event FOCUS : String = focus[static] 定义 focus 事件对象的 type 属性值。Event FOCUS_CHANGE : String = focuschange[static] 定义 focuschange 事件对象的 type 属性值。Event FRAME : String = enterframe[static] ...
来源: Laya2.0_api 发布时间: 20190513
...tring = error[static] 定义 error 事件对象的 type 属性值。Event FOCUS : String = focus[static] 定义 focus 事件对象的 type 属性值。Event FOCUS_CHANGE : String = focuschange[static] 定义 focuschange 事件对象的 type 属性值。Event FRAME : String = enterframe[static] ...
来源: laya_api 发布时间: 20170929
...戏提示VM122:1 gameThirdScriptError VM122:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.js:150:34) at new t (http://127.0.0...
来源: Laya_社区 发布时间: 20180516
...个黑色块的问题 在执行到laya.core.js中第16443行代码的input.focus()后就会出现黑色块,在重新点击之后黑色块会消失,有点影响体验,但input.focus()我暂时没找到定义,在注释之后不会出现黑色块,但web的输入框选中要点击两次才会...
来源: Laya_社区 发布时间: 20230111
...:3 (anonymous) @ gamePage.html:156 WAGame.js:3 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function at Function.Browser.__init__ (http://127.0.0.1:51176/game/code.js:7140:21) at Function._$GET_clientWidth (http://127.0.0.1:51176/game/code.js:7057:...
来源: Laya_社区 发布时间: 20180510
...性值。*/ static BLUR: string; /** 定义 focus 事件对象的 type 属性值。*/ static FOCUS: string; /** 定义 visibilitychange 事件对象的 type 属性值。*/ static VISIBILITY_CHANGE: string; /** ...
来源: Laya_社区 发布时间: 20170601
...ut.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 onFocusOut(event:Focu...
来源: Laya_社区 发布时间: 20151225