Installation
<!-- 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();
})$(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