5.0.0 • Published 2 months ago
min-dom v5.0.0
min-dom
A minimal dom utility toolbelt. Library friendly and based on utilities provided by component.
Footprint
This library is tiny (2Kb
in size) and still exposes all fundamental utilities:
$ npm run bundle
$ gzip dist/index.js
$ du -b dist/*.gz
2351 index.js.gz
Features
The library exposes the following tiny dom helpers:
assignStyle
- add inline styles to a nodeattr
- get and set node attributesclasses
- class name helperclear
- remove children from a nodeclosest
- get the closest parent by selector;delegate
- event deletation support; delegate-eventsdomify
- html to elements; domifyevent
- event binding; component-eventmatches
- selector match checkquery
- native selector query supportremove
- detach a node from its parent
Related
License
MIT
5.0.0
2 months ago
4.1.0
1 year ago
4.0.1
2 years ago
4.0.0
2 years ago
4.0.3
2 years ago
4.0.2
2 years ago
3.2.1
2 years ago
3.2.0
2 years ago
3.1.3
4 years ago
3.1.2
4 years ago
3.1.1
6 years ago
3.1.0
6 years ago
3.0.0
6 years ago
2.2.0
6 years ago
2.1.0
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.0
6 years ago
0.3.0
7 years ago
0.2.0
9 years ago
0.1.2
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago
0.0.0
9 years ago