5.1.1 • Published 1 year ago
min-dom v5.1.1
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.1.1
1 year ago
5.1.0
1 year ago
4.2.1
1 year ago
4.2.0
1 year ago
5.0.0
1 year ago
4.1.0
2 years ago
4.0.1
3 years ago
4.0.0
3 years ago
4.0.3
3 years ago
4.0.2
3 years ago
3.2.1
3 years ago
3.2.0
3 years ago
3.1.3
5 years ago
3.1.2
5 years ago
3.1.1
7 years ago
3.1.0
7 years ago
3.0.0
7 years ago
2.2.0
7 years ago
2.1.0
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.0.0
8 years ago
0.3.0
8 years ago
0.2.0
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago
0.0.0
10 years ago