0👍
There’s no @click
event available for this library. For list off all available events, check out their docs here
However you can do this, as there’s already a two-way binding with date
<Datepicker model="date" ...></Datepicker>
you can watch for changes in date
, that’s probably equal to a @click
event (if you need to do take some action whenever the date changes)
// add import
import { watch } from "vue";
// then inside setup
watch(data, (newDate, prevDate) => {
/* ... */
})
Source:stackexchange.com