2.1.0 • Published 3 years ago

wc-interest-calc v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

Interest Calculator as Web Component

Built With Stencil

bla

A simple compount interest calculator built as a web component.

You can calculate the principal, interest, duration or the final amount based on the other values.

How to use

Include the interest-component.js script into your page.

Then use the wc-interest-calc selector to use the interest calculator in your page.

Properties

PropertyAttributeDescriptionTypeDefault
checkedcheckedWhich of the radioButtons should be selected; possible values are descrbed belowstring'finalAmount'
durationdurationduration (in years)number0
finalAmountfinal-amountfinal Amount after interest is applied to the principalnumber0
interestinterestinterestnumber0
principalprincipalprincipal (starting Amount)number0
symbolsymbolsymbol used next to the principal and final Amount inputstring$
headerTextheader-textOptional HeaderstringInterest Calculator

Possible values for checked are: 'principal', 'interest', 'duration', 'finalAmount'

License

  • Stencil is and my code are licenced unter MIT
  • My code is licenced unter MIT
2.1.0

3 years ago

2.0.0

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago