mantis-js
v0.20.1
Published
JavaScript library for DOM manipulation
Downloads
10
Readme
Mantis.js
Mantis.js is probably the simplest and lightest weight JavaScript library for modern browsers. It has the most essential and useful features like DOM traversal and manipulation, event handling, Ajax, and more with a similar API to jQuery and Zepto.js.
Usage
Include Mantis.js with a script tag near the end of your page:
<script src="mantis.min.js"></script>
A CDN will be available soon.
API Methods
List of all the methods currently working
- [x] Mantis()
- [x] Mantis.extend()
- [x] Mantis.map()
- [x] Mantis.noConflict()
- [x] Mantis.type()
- [x] Mantis.fn
- [x] Mantis.fn.addClass()
- [x] Mantis.fn.after()
- [x] Mantis.fn.append()
- [x] Mantis.fn.attr()
- [x] Mantis.fn.before()
- [x] Mantis.fn.css()
- [x] Mantis.fn.each()
- [x] Mantis.fn.extend()
- [x] Mantis.fn.hasAttr()
- [x] Mantis.fn.hasClass()
- [x] Mantis.fn.html()
- [x] Mantis.fn.map()
- [x] Mantis.fn.prepend()
- [x] Mantis.fn.removeAttr()
- [x] Mantis.fn.removeClass()
- [x] Mantis.fn.toggleClass()
Browser Support
| | | --- | --- | --- | --- | Latest ✔ | Latest ✔ | 9+ ✔ | 6.1+ ✔ |
Donating
Support this project and others by acauamontiel via gratipay.
License
© 2013 - 2016 Acauã Montiel