【文件属性】:
文件名称:dom.js:微型javascript dom库
文件大小:40KB
文件格式:ZIP
更新时间:2021-05-03 15:52:00
JavaScript
DOM.js
DOM.js是一个轻量级的快速跨浏览器(IE 8 +,FF31 +,SF5 +,CH31 +,OP24 +)库,用于DOM遍历,操纵和事件处理。 Dom.js还包括用于简化跨浏览器拖动操作的拖动库。
仅压缩并压缩了5KB!
API参考
目录
DOM遍历
DOM操作
Dom.getClass
Dom.addClass
主类
Dom.removeClass
Dom.create
Dom.html
文本
Dom.append
dom.prepend
之后
之前的Dom
Dom.replace
删除
模板
可拖动
实用程序
Dom.requestAnimationFrame
Dom.cancelAnimationFrame
Dom.isElement
Dom.isNode
事件处理
Dom.addListener
Dom.removeListene
【文件预览】:
dom.js-master
----src()
--------dom.min.js.gz(5KB)
--------dom.min.js(18KB)
--------dom.js(58KB)
----examples()
--------dom.parent.html(467B)
--------dom.prepend.html(632B)
--------index.html(1KB)
--------dom.find.html(512B)
--------dom.previous.html(491B)
--------dom.findbytagname.html(492B)
--------dom.findbyclassname.html(500B)
--------dom.after.html(529B)
--------dom.next.html(483B)
--------dom.offset.html(405B)
--------dom.id.html(464B)
--------dom.template.html(694B)
--------dom.replace.html(542B)
--------dom.before.html(531B)
--------dom.html.html(330B)
--------dom.css.html(695B)
--------dom.create.html(663B)
--------dom.hasclass.html(508B)
--------dom.widget.html(938B)
--------dom.addclass.html(737B)
--------dom.addlistener.html(759B)
--------dom.copy.html(384B)
--------dom.text.html(357B)
--------dom.removeclass.html(500B)
--------dom.append.html(641B)
--------dom.getclass.html(513B)
--------dom.draggable.html(3KB)
--------dom.children.html(715B)
--------dom.remove.html(445B)
--------dom.attribute.html(702B)
----LICENSE(1KB)
----README.md(15KB)
----.gitignore(36B)