V
V
Vadim V2020-05-24 18:13:38
Angular
Vadim V, 2020-05-24 18:13:38

Does angular 2 have a pipe filter?

Does the second Angular have a standard pipe filter? and how does it work? Google rummaged through something but didn’t find it (

Code example | filter:filterParams.searchTerm. Unfortunately, it’s impossible to fail to look at all the code from the template. Maybe someone knows this is a standard filter pipe and where can I see its code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2020-05-24
@Xuxicheta

he is not here.
Until you have a clear understanding of how change detection and pipes work, using such a pipe can cause performance degradation. Angular does not recommend operations on collections in pipes.
And then you can quickly make your own, without problems with pseudocode.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question