Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
/ gw2-coin-output Public archive

Converts a coin string to gold, silver and copper values appended by the corresponding icon from Guild Wars 2.

License

Notifications You must be signed in to change notification settings

rediche/gw2-coin-output

Repository files navigation

Published on webcomponents.org

<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-outputs 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

About

Converts a coin string to gold, silver and copper values appended by the corresponding icon from Guild Wars 2.

Resources

License

Stars

Watchers

Forks

Packages

No packages published