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
.
Click to load comments...