大约有 58 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...6 14:39 经过测试在List.mouseHandler中点其他的元素都能通过e.target.name获取到名字,唯独textinput通过e.target.name获取到名字为空,而且e.type为mousedown,希望能够提供一个demo能够读取到list中的textinput的text。 weiyongwill • 2017-01-09 09:33 @cuix...
来源: Laya_社区 发布时间: 20170105
...idth,this.drawSp.height,"#ff0000"); } private _onclick(e:Event){ switch (e.target.name) { case this.nameArr[0]: var base64Url:string = this._canvas.toDataURL("image/png",1); this.drawImage.skin = base64Url; break; case this.nameArr[1]: var text:Texture = Laya.stage.drawToTexture(Browser.clientWidth,...
来源: Laya2.0_示例 发布时间: 20251130
...发事件我摸索出来了 onMouseDown(e){ console.log("mouseDown "+e.target.name); } onMouseUp(e){ console.log("mouseup"); } 2018-10-29 0 0 分享 微博 QZONE 微信 coder 赞同来自: 可是 https://layaair.ldc.layabox.com/api 实在没有对js有什么描述,现在两眼一片黑,全靠...
来源: Laya_社区 发布时间: 20181029
...300/Ability: [mission_info_mgr.cpp(FindReusedMissionInfo:330)]can not find target singleton mission:#com.layabox.game:entry:EntryAbility 01-06 17:34:41.494 797 1382 I C01300/Ability: [mission_list_manager.cpp(CreateOrReusedMissionInfo:560)]result:0 01-06 17:34:41.494 405 1695 I C01700/RSS: ResSchedS...
来源: Laya_社区 发布时间: 20250106
...true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3...
来源: Laya_社区 发布时间: 20170714
...true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3...
来源: Laya_社区 发布时间: 20190224
... • 2018-03-24 14:57 已解决: if (e.type == Laya.Event.CLICK) { if (e.target.name == "arrow") { //Tree的开/关,当打开一个时,另一个关闭 var item:Cell = e.target.parent as Cell; if (item.dataSource.isOpen == true) { if (this.selectedIndex == -1) { this.selectedIndex = i...
来源: Laya_社区 发布时间: 20171011
...; public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }
来源: Laya_社区 发布时间: 20180627
...atue == true) { if ((card_A == -1) && (card_B == -1)) { card_A = e.target.name; button[card_A].color = "red"; } else if ((card_A != -1) && (card_B == -1)) { card_B = e.target.name; if ((g_list_A.indexOf(button[card_A].text) != -1) && (g_list_A.indexOf(button[card_A].text) == ...
来源: Laya_社区 发布时间: 20160623
...Event.COMPLETE, this, bfwc); function bfwc(e){ console.log(e.target.name); } 是错误的 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: 不是直...
来源: Laya_社区 发布时间: 20170718