From 41e7324074c12748cf99a1ff62dfb1815972cbc8 Mon Sep 17 00:00:00 2001 From: Laxmikanta Nayak Date: Tue, 4 May 2021 12:39:28 +0530 Subject: [PATCH] Adding event related section in the demo When i was looking in to this to use in an app, i found the event part was not clearly mentioned so adding it so that it might help someone to get the information right away. --- demo/src/app.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/demo/src/app.js b/demo/src/app.js index 639a044..383bf73 100644 --- a/demo/src/app.js +++ b/demo/src/app.js @@ -17,10 +17,17 @@ new Vue({ datetime12: '2018-05-12T17:19:06.151Z', datetime13: '2018-05-12T17:19:06.151Z', datetimeEmpty: '', + appointmentTime:'', minDatetime: LuxonDateTime.local().minus({ month: 1, days: 3 }).toISO(), maxDatetime: LuxonDateTime.local().plus({ days: 3 }).toISO(), datetimeTheming: LuxonDateTime.local().toISO() } + }, + + method:{ + onAppointmentTimeSelect(){ + alert('The time you selected is ::', this.appointmentTime) + } } })