Filtering movies by time
In the last video, we made it so our time filters would emit a check filter event which gets captured and added to the state of the main instance.
In this video, let's use that state to filter the list of movies based on whether or not they have sessions available for the given time filter.
Stubbing time filter
I'm now going to stub a timeFilter
method and use it as a third filter callback in the filteredMovies
computed property.
Click to load comments...