Simple Web Component for Currency Conversion.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
component
.gitignore
LICENSE
README.md
demo.html

README.md

Currency Converter

Simple Web Component for Currency Conversion.

Arguments

  • id optional element id
  • value must be a number
  • from the currecny to convert from
  • to the currecny to convert to

Example

  <currency-converter id="cc" value="7" from="USD" to="EUR"></currency-converter>

The result will be the equivelant of 7 USD in EUR

Demo

Available here: http://amahdy.app.fi/demo.html

Please note that this demo URL will change in the future.