/currency-converter

Simple Web Component for Currency Conversion.

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

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.