The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Filter items with a custom search Pipe in Angular 2

Filter items with a custom search Pipe in Angular 2

3:15
This lessons implements the Search Pipe with a new SearchBox component so you can search through each todo. It also demonstrates the patterns used for components to interact with each other. Often generic components are used for handling user input then they forward on those events (using Outputs) to components more specific to your application.
Watch this lesson now
Avatar
egghead.io

This lessons implements the Search Pipe with a new SearchBox component so you can search through each todo. It also demonstrates the patterns used for components to interact with each other. Often generic components are used for handling user input then they forward on those events (using Outputs) to components more specific to your application.

Avatar
Kevin

This was pretty clear to me, except how they have (input) = "update... , or whatever. Is (input) something special you use for actual input fields?

Avatar
John

(input) is simply capturing the "input event":
https://developer.mozilla.org/en-US/docs/Web/Events/input

Just like capturing (keyup), (keydown), etc.

In reply to Kevin
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?