A

Admin • 828.43K Points
Coach

Q. How is a custom pipe created in Angular?

  • (A) By using the `@Pipe` decorator
  • (B) By importing PipeModule
  • (C) By defining a directive
  • (D) By using `@Component`
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Custom pipes are created with `@Pipe` and must implement `PipeTransform`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.