@wiajs/dom
v1.6.1
Published
Fork from jquery/zepto/dom7. JavaScript library for DOM manipulation
Downloads
63
Readme
English | Chinese
dom
wia's dom module
Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API
Fork from jQuery Dom7 and Zepto.
Dom - is the default DOM manipulation library built-in wia. It utilizes most edge and high-performance methods for DOM manipulation. You don't need to learn something new, its usage is very simple because it has the same syntax as well known jQuery library with support of the most popular and widely used methods and jQuery-like chaining.
See wia dom documentation for usage examples and available methods.
Build
You will need Node.js installed on your system.
First, install all required dependencies
$ npm install
To build development version:
$ npm run build-dev
The resulting files are:
- dist/dom.cmn.js
- dist/dom.cmn.map
- dist/dom.esm.js
- dist/dom.esm.map
- dist/dom.js
- dist/dom.map
To build production (minified) version:
$ npm run build
The resulting files are:
- dist/dom.cmn.js
- dist/dom.esm.js
- dist/dom.js
- dist/dom.min.js