Angular 6 - Pipes / Built-in Pipes & Custom Pipes

preview_player
Показать описание
This video we will walk thorough creating Angular 6 - Pipes / Built-in Pipes & Custom Pipes.
Whenever we start out to build a new web application, we often deal with simple data transformation, which we render them in template and display those data to users.

This is as simple as creating a field in a class and pushing those values to a template, but they rarely makes a good user experience.

What if you have a data that needs to be transformed?
Such as let’s say you have a text field designated as a currency and while you type in your numbers, it should transform those values in to text.

If I enter 1000 as numerals, it should read it as One Thousand as words…

Well, Angular has a solution for it, they are called Angular Pipes, that helps to display-value transformations that you can declare them in HTML.

Source Code:
******************
Рекомендации по теме