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.
> Lesson 43

Setting global day state

The next feature to add to our day selector is to make it so a user can select a day and have that day be set as the day value in the global state.

Click handler

To begin with, let's capture a user's click on any of the days in our day list. So we'll add a v-on and attach that to the click event on the li.


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