[]JS中List容器里renderHandler和itemHandler渲染器如何使用

JS中List容器里renderHandler和itemHandler渲染器如何使用
已邀请:

cry_11858

赞同来自:

 this.list_xxx.renderHandler = this.list_bag.renderHandler || new Laya.Handler(this, this.updateList);
 
 
    ActivityXXXXXUI.prototype.updateList = function(cell, index)
    {
        var info = cell.dataSource;

        var img_icon  = cell.getChildByName("img_icon");//图标
        var lab_name  = cell.getChildByName("lab_name");//名称
   }
 
itemHandler一般不用。

要回复问题请先

商务合作
商务合作