gurpsdomain / GurpsyMcGurpsFace

A (not yet) fully functional webbrowser based Gurps Character Sheet Editor
https://gurpsdomain.github.io/GurpsyMcGurpsFace/
4 stars 0 forks source link

Create a custom component for weight units #33

Closed meronbrouwer closed 7 years ago

meronbrouwer commented 7 years ago

Create an Angular Custom Components for displaying weights. It should take the unit into account and convert the value, if required (lbs and kg).

meronbrouwer commented 7 years ago

A pipe seems more appropriate for this. For testing, see

https://medium.com/google-developer-experts/angular-2-testing-guide-a485b6cb1ef0#2626