From e37bfc07979aa107cec3896902d2299dc70d8d1b Mon Sep 17 00:00:00 2001 From: Nathan <2473531+XBS-Nathan@users.noreply.github.com> Date: Mon, 23 Sep 2019 12:12:44 +0100 Subject: [PATCH] added open event --- src/Datetime.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Datetime.vue b/src/Datetime.vue index 34979bf..fd2b924 100644 --- a/src/Datetime.vue +++ b/src/Datetime.vue @@ -201,9 +201,9 @@ export default { this.$emit('input', datetime ? datetime.toISO() : '') }, open (event) { - event.target.blur() - - this.isOpen = true + event.target.blur(); + this.isOpen = true; + this.$emit('open'); }, close () { this.isOpen = false