摘要: 01 为元素添加on方法 Element.prototype.on = Element.prototype.addEventListener; NodeList.prototype.on = function (event, fn) { []['forEach'].call(this, functi 阅读全文
posted @ 2021-10-04 18:40 松岛川树 阅读(25) 评论(0) 推荐(0) 编辑