大约有 2 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0014 秒)
...ndler = new Handler(this, onListRender); } //通过渲染函数为Btn添加Click function onListRender(item, index) { var btn=item.getChildByName('btn'); btn.on(Event.CLICK,this,onClickBtn,[index]); } Laya.class(TestUI, "TestUI", TestPageUI); //按钮Click回调 function onClickBtn(index) { alert("...
来源: Laya_社区 发布时间: 20170513
...und:Laya.SoundChannel = null; this.btn_sound.on(Laya.Event.CLICK,this,function(){ dreamsSound = null; if(mainSound == null){ Laya.loader.load("res/main.mp3",Laya.Handler.create(this,function(){ ...
来源: Laya_社区 发布时间: 20190716