Angular: Using Pipes

A great feature of Angular is the capability to implement pipes. A pipe is a type
of operator that hooks into the expression parser and modifies the results of the
expression for display in a view—for example, to format time or currency
values.


Pipes are a good way to format strings, currency amounts, dates and other display data. Angular ships with several built-in pipes and you can create your own.

Không có nhận xét nào:

anti-pattern là gì

  Trong công nghệ và lập trình, Anti-pattern (mẫu phản diện) là những giải pháp bề ngoài có vẻ hiệu quả để giải quyết một vấn đề phổ biến, ...