illustration for Filter a Collection Using Stimulus
pro

Filter a Collection Using Stimulus

Instructor

Damon Bauer

15m closed-captioning
·
5 lessons
21
people completed
Published 5 years ago
|
Updated a year ago

Stimulus is self-described as "A modest JavaScript framework for the HTML you already have".

This collection will show you how to build a Stimulus controller that allows a user to filter a collection of DOM elements based on a variety of inputs.

You'll learn:

  • How to connect a Stimulus controller
  • What an action and a target are, and how they work
  • Modern JavaScript to make filtering a collection simple
  • Techniques to make your code extensible and reusable