-
What is the interface for this prop please? It is missing in the documentation: The property I tried looking into the sourcecode, but it doesn't look very readable to me, with no apparant single source of prop interfaces, nor interfaces defined together with the component. It's probably perfectly readable to the author though, hence why I'm asking here. I would appreciate if this can be added to the documentation as well. Seems pretty basic information, iyam. We're on Vuetify 2.6 & Vue 2.6. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The interface is here: vuetify/packages/vuetify/types/index.d.ts Lines 229 to 231 in ade1434 It's technically interface CalendarEvent {
start: number | string | Date
end?: number | string | Date
name?: string
color?: string
} but the keys for those can be modified with the
Yeah this wasn't reviewed properly when it was added, these all seem pretty inconsistent. |
Beta Was this translation helpful? Give feedback.
The interface is here:
vuetify/packages/vuetify/types/index.d.ts
Lines 229 to 231 in ade1434
It's technically
but the keys for those can be modified with the
eventStart
,eventEnd
, andeventName
props.Yeah this wasn't reviewed properly when it was added, these all seem pretty inconsistent.
start
/end
/name
work like you'd expect, with the correspondingevent*
prop either being a key to lookup or a function called on render.eventColor
can also be …