Skip to content
James Pederson edited this page May 17, 2014 · 15 revisions

Accrue.js Documentation

This wiki is designed to help you learn how to integrate Accrue.js into your project. Use the menu at the right to navigate the documentation.


Getting Started

  1. Include jQuery (recommend latest) and jquery.accrue.min.js. This is the only file you need from the repo - the CSS is only for the demo page.
  2. Create a calculator div, select it, and call the accrue function on it. Like so:
<div class="calculator"></div>
<script>
$(document).ready(function(){
    $(".calculator").accrue();
});
</script>

Contributing

Have a cool feature you added to Accrue? Fork me and submit a pull request, I'll certainly accept any improvements that I agree would be useful to other developers.