illustration for Filter a Collection Using Stimulus

Filter a Collection Using Stimulus

Instructor

Damon Bauer
15m
21
people completed
Bookmark
Download
RSS

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