FindFly
FindFly
  • 发布:2014-11-17 11:33
  • 更新:2014-11-17 11:33
  • 阅读:1295

csdn Demo中的点击跳转Events, 新手求教

分类:HTML5+
  1. index-menu-page.js 中, OnReady()方法有这么一句 【 that.on("click", doc); 】传了两个参数
  2. 可是在basepage.js中定义的 on如下
    on : function(type, el, bubble) {
    try{
    el.addEventListener(type, this, !!bubble);
    }
    catch(e){
    csdn.showErr(e, 'on')
    }
    },
    有三个参数要传入

请问: 这样可以调用么? 还是我找错了位置。。。。

2014-11-17 11:33 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复