Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Vue Foundations > Lesson 57

Making check-filter toggleable

In the last video, we made it so our check-filter component inclued the genre title by setting up a prop.

Now we want to make it more like a standard HTML checkbox. So in this video, we'll make it toggleable with a click.

Capturing user click

We'll first create a data property checked on our check-filter component that will be false by default.

src/main.js

"check-filter": {
  props: {
    title: String
  },

Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom