O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamic value converters – Less code, more functionality

As we said at the beginning of this chapter, our application should be available for all the users worldwide. You are completely free to model the application according to your own purposes. Maybe you want to implement premium features that would need you to pay to access them, so you will need to express the cost in the user currency. Another good thing could be to have a custom formatted date, or simply add some number conversion, decimal rounds, and so on.

You already know how to bind and interpolate values between Aurelia View and ViewModel components. Now we will see how to improve that data binding. Come on!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required