Today, I'm happy to introduce version 1.0 of the new feathersui-formatters open source project, which is a port of the string formatting classes from Apache Flex (formerly Adobe Flex) to Feathers UI, Haxe and OpenFL.
This is the newest of multiple projects that I'll be releasing as part of the Feathers UI v1.0 release week celebration.
The following formatter classes are included in the library:
CurrencyFormatterformats a numeric monetary value, including the currency symbol (such as
€) and appropriate precision for things like cents/pence.
DateFormatterformats a date string with a specific pattern.
NumberFormatterformats a numeric value, including support for thousands separator, decimal separator, precision, and negative values.
PhoneFormatterformats a phone number with the appropriate separators/delimiters.
ZipCodeFormatterformats a US or Canadian postal code.
Install String Formatters v1.0.0 for Feathers UI
Form Validators v1.0.0 may be installed using the haxelib install command in your terminal.
haxelib install feathersui-formatters 1.0.0
The v1.0.0 API Reference includes descriptions of all APIs available in Form Validators for Feathers UI.
Questions or comments?
If you need some help, or want to give feedback, feel free to create a thread in the Feathers UI Community forum.