Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 1.67 KB

README.md

File metadata and controls

65 lines (40 loc) · 1.67 KB

Accrue.js

A loan and interest calculation plugin for jQuery.


Available on Github Available on NPM MIT


preview


Install

Via Github

git clone [email protected]:jpederson/Accrue.js.git accrue.js

Via NPM

npm install accrue

Via Yarn

yarn install accrue

Quick Start

For the most basic usage of the plugin, all you need is the code below. Of course, you may need to adjust src properties based on where you store files, and you'll want to add styles - but the core functionality will be there.

<div class="calculator"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery.accrue.min.js"></script>
<script>
$(document).ready(function(){
	$(".calculator").accrue();
});
</script>

Find out more about how to use Accrue.js in the wiki


Contributing

To contribute, you'll need nodejs and Grunt installed. Fork and clone the repo, then visit the directory in the terminal and type npm install. After that you can simply run the grunt command to watch the files in the project. It'll automatically lint, test, compile, and minify the plugin files so you can just code.

Built with Grunt