decade slot added
parent
cf3b2e8b23
commit
afc5b0cd31
|
@ -342,6 +342,10 @@ const CalendarSlots = [
|
||||||
{
|
{
|
||||||
name: "date",
|
name: "date",
|
||||||
description: "Custom content for the calendar cell."
|
description: "Custom content for the calendar cell."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "decade",
|
||||||
|
description: "Custom content for the calendar decade."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,10 @@ interface CalendarDateSlotInterface {
|
||||||
date: any;
|
date: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface CalendarDecadeSlotInterface {
|
||||||
|
years: any;
|
||||||
|
}
|
||||||
|
|
||||||
declare class Calendar {
|
declare class Calendar {
|
||||||
$props: CalendarProps;
|
$props: CalendarProps;
|
||||||
$emit(eventName: 'update:modelValue', value: Date | Date[]): this;
|
$emit(eventName: 'update:modelValue', value: Date | Date[]): this;
|
||||||
|
@ -64,6 +68,7 @@ declare class Calendar {
|
||||||
header: VNode[];
|
header: VNode[];
|
||||||
date: CalendarDateSlotInterface;
|
date: CalendarDateSlotInterface;
|
||||||
footer: VNode[];
|
footer: VNode[];
|
||||||
|
decade: CalendarDecadeSlotInterface;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue