Answer the question
In order to leave comments, you need to log in
What does the model option in a component do?
model: {
prop: 'checked',
event: 'change'
},
props: {
checked: Boolean,
value: String
}
Answer the question
In order to leave comments, you need to log in
This props entry allows you to determine in advance which props the component will accept, and what data types are expected in those props.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question