Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 2.55 KB

README.md

File metadata and controls

86 lines (60 loc) · 2.55 KB

Mantis.js

Join the chat at https://gitter.im/acauamontiel/mantis-js

Bower version npm version

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

  • Mantis()
  • Mantis.extend()
  • Mantis.map()
  • Mantis.noConflict()
  • Mantis.type()
  • Mantis.fn
  • Mantis.fn.addClass()
  • Mantis.fn.after()
  • Mantis.fn.append()
  • Mantis.fn.attr()
  • Mantis.fn.before()
  • Mantis.fn.css()
  • Mantis.fn.each()
  • Mantis.fn.extend()
  • Mantis.fn.hasAttr()
  • Mantis.fn.hasClass()
  • Mantis.fn.html()
  • Mantis.fn.map()
  • Mantis.fn.prepend()
  • Mantis.fn.removeAttr()
  • Mantis.fn.removeClass()
  • Mantis.fn.toggleClass()

Browser Support

Chrome Firefox IE Safari
Latest ✔ Latest ✔ 9+ ✔ 6.1+ ✔

Donating

Support this project and others by acauamontiel via gratipay.

Support via Gratipay

License

© 2013 - 2016 Acauã Montiel

MIT License