πŸ“Š Angular
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`
πŸ’¬ Discuss
βœ… Correct Answer: (A) By using the `@Pipe` decorator

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate