Installation

Installing EMIculator is very easy. You only need jQuery and Bootstrap loaded on your website and rest is almost plug and play.

Download the widget and link the jquery.emiculator.js to your webpage.

Initialize the widget using the following code.

<!-- widget wil load inside the below container -->
<div class="emic-calculator">
</div>  
// pass the container element  as parameter for initialization 
// where you would like to load the widget
// in the example below the widget can be loaded inside the
// element with class as shown below
$(document).ready(function(){ 
	$(".emic-calculator").emiculator(); 
})

Available Options for customization : See description on Configuration page

$(document).ready(function(){ 
	$(".emic-calculator").emiculator({
	       currency : '<i class="fa fa-dollar-sign"></i>',
           precision : 2, 
           showChart : true, 
           showComponents : true,
           backgroundColor : ["#82c91e" , "#fa5252"],
           hoverBackgroundColor : ["#74b816" , "#f03e3e"],
           initPrincipal : 100000,
           maxPrincipal : 5000000,
           initRate : 8.5,
           maxRate : 20,
           initTime : 180,
           maxTime : 360,
           language : {
                LABEL_PRINICIPAL : "Your Loan Amount is ",
			    CALCULATOR_HEADING : "EMI Calculator for Home Loans ",
			    LABEL_RATE : "Your Loan Rate",
                LABEL_TIME : "Your Loan Tenure",     
           } 
	}); 
})

Last updated