@input="CreateUser(user); ValidateForm(user)"
grid-column-start: 2;
<my-component ref="refNameAsInTemplate" />
обзывали компонент, а в коде обращались через this.$refs.refNameAsInTemplate.method()
для options синтаксиса или через const refNameAsInTemplate = ref(null)
...
function myHandler() {
refNameAsInTemplate.value.method()
}
...
return {
...,
refNameAsInTemplate
...
}
для composition api const config = {
type: 'bar',
data: data,
options: {
scales: {
y: {
beginAtZero: true,
position: 'right'
}
}
},
};