在封装库--连缀【2】中的问题
李冲
李冲 2019-03-09 22:04:55
0
0
1076

Base.prototype.css=function(attr,value){

  // this.elements[0].style.attr=value;

  this.elements[0].style[attr] = value;

  return this;

提问:style['color']这种写法是报错的,为什么传参过来就可以?谢谢老师

}


李冲
李冲

全部回复(0)
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板