From 803e3362a8b0a7161c78ae32362678b8c53128dd Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 28 Nov 2023 12:58:15 +0300 Subject: [PATCH] Refactor #4871 --- components/lib/calendar/Calendar.d.ts | 4 ++++ components/lib/calendar/Calendar.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index f2c5e06dd..1ad87ee10 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -798,6 +798,10 @@ export interface CalendarSlots { * Style class of the input icon */ class: any; + /** + * Click callback + */ + clickCallback: () => void; }): VNode[]; /** * Custom previous icon template. diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 9adf5717a..b65804051 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -48,7 +48,7 @@