gw2-coin-output
v2.0.1
Published
Converts a coin string to gold, silver and copper values appended by the corresponding icon from Guild Wars 2
Downloads
1
Readme
<gw2-coin-output>
<gw2-coin-output coin-string="123456">...</gw2-coin-output>
Converts a coin string to gold, silver and copper values appended by the corresponding icon from Guild Wars 2.
Prepend Zeroes
<gw2-coin-output prepend-zeroes coin-string="123456">...</gw2-coin-output>
This prepends zeroes to silver and copper values if they are less than 10. Useful for making sure all gw2-coin-output
s are easy to align vertically.
Install
npm i --save gw2-coin-output
Development
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
Viewing Your Application
$ polymer serve
Running Tests
$ polymer test