/numbro-element

[Polymer 1.x] A CSS friendly element wrapper for the numbro.js library.

Primary LanguageHTMLMIT LicenseMIT

Published on webcomponents.org

<numbro-element>

Descripton

<numbro-element> is a CSS friendly element wrapper for the numbro.js library.

Install

Install the component using Bower:

$ bower install numbro-element --save

Usage

Import Custom Element:

<link rel="import" href="bower_components/numbro-element/numbro-element.html">

And then use it:

<numbro-element value="1000" format="0.0"></numbro-element>

See the Documentation for more options.

More Demos

https://geoloeg.github.io/numbro-element/

Discussing

If you have any questions, you can find me on the Polymer Slack Channel, or just raise an Issue.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D