Start your All-Access Pass to unlock this challenge
Challenge 1 / 1
Suppose we have a Stimulus controller like this:
export default class extends Controller {
static targets = ['selectItem'];
static values = {
itemId: Number
}
}
How would you add a change callback method for the itemId
value?
Skip challenges and go to theNext Chapter