A pipe takes in the data as input and transforms it into the desired output. Pipes are declared using @Pipe decorator. We will create a custom pipe here, in this article. Like a filter, a Pipe also takes data as input and transforms it into the desired output.
source https://www.c-sharpcorner.com/article/creating-custom-pipe-using-safehtml-in-angular-5/
No comments:
Post a Comment