© Matthew Duffield 2018
Matthew DuffieldPractical App Development with Aurelia https://doi.org/10.1007/978-1-4842-3402-0_15

15. Value Converters

Matthew Duffield1 
(1)
West Linn, Oregon, USA
 

In this chapter we are going to cover how value converters work in Aurelia. We will review the API and conventions that Aurelia uses when working with value converters. We will also create our own value converter. Upon completing this chapter, you will have a good understanding of how value converters work in Aurelia.

Value Converters

Value converters are very similar to binding behaviors in syntax. You use the pipe (|) syntax inside a binding expression to identify a value converter. A value converter is a class that is responsible for converting view model values ...

Get Practical App Development with Aurelia : Leverage the Power of Aurelia to Build Personal and Business Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.