For developers who would like to rapidly develope web apps with standard DOM methods.
- Clone the
releasebranch from GitHub in submodule
Example:
$ git submodule add -b release https://github.com/cosmoswafer/lazydom.git- Import from GitHub Pages CDN:
https://cosmoswafer.github.io/lazydom/<module>.js
Example:
<script type="module">
import {DOM} from 'https://cosmoswafer.github.io/lazydom/dom.js'; //Do
whatever you want...
</script>| Modules | Description |
|---|---|
dom.js |
Shortcut for using DOM APIs |
router.js |
Simulate router by anchor url |