Start your All-Access Pass to unlock this challenge
Suppose we have this Stimulus value on a controller:
export default class extends Controller { static values = { colorSelected: Boolean } }
How can we access the colorSelected value?
colorSelected
this.getValue('colorSelected');
this.getValue('colorSelected')
this.colorSelected;
this.colorSelected
this.colorSelectedValue;
this.colorSelectedValue
this.values.colorSelected;
this.values.colorSelected