【文件属性】:
文件名称:vanilla-dom-selector:一个超小的 javascript vanilla dom 选择器
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-13 22:14:16
javascript html jquery js dom
vanilla-dom-选择器
一个超小的 javascript vanilla dom 选择器
只需将带有[removed]标签的 HTML 文件放入并附加[removed] = function() { }
( function ( ) {
'use strict' ;
var $ = document . querySelectorAll . bind ( document ) ;
NodeList . prototype . each = HTMLCollection . prototype . each = Array . prototype . forEach ;
NodeList . prototype . on = function ( a , b ) {
return this . each ( function ( c ) {
c .
【文件预览】:
vanilla-dom-selector-master
----index.html(840B)
----LICENSE(18KB)
----README.md(952B)