2👍
✅
According to the documentation of your plugin, you have to listen to plugin events. So you can replace @toggleDatepicker
by @booking-clicked
.
@ if for event listening, so you have to check the event section of the plugin.
1👍
According to the documentation, toggleDatePicker
isn’t an event, but a method. You can try using the check-in-changed
and check-out-changed
events, or check out the other event options (however, I think these will fit your use case).
Source:stackexchange.com