Replies: 6 comments 6 replies
-
Hi @jonastahl, great to hear that you're starting the type definitions! Isn't it working for you at https://antoniandre.github.io/vue-cal ? Could it be a caching issue? Regarding TS, let's first answer about the intention, then I'll update the code to align with it :)
Cheers! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@event-dropped: in my test it returns event and originalEvent. In the documentation is event, oldDate, newDate, oldSchedule, newSchedule |
Beta Was this translation helpful? Give feedback.
-
Everything was released a few days ago, but I am continuously improving the documentation for accuracy and fixing bugs. |
Beta Was this translation helpful? Give feedback.
-
@antoniandre Is there a reason why @view-change does not emit a Vue Cal View object? And a small type difference, in both objects Vue Cal View and the one emitted by @view-change: |
Beta Was this translation helpful? Give feedback.
-
Hi ! @jonastahl do you have some early version of this types definitions ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
started working on a typescript declaration file.
Wanted to use this discussion to ask about small impurities I found/will find, without opening an Issue for everything.
Starting of with the props disableDays and selectedDate.
Both of them are supposed to take Strings and Dates according to the props definition file.
Can the string only have the format 'YYYY-MM-DD'? (Would be nice for typing)
Passing a Date don't seem to work for me for both of them. Is this wanted behaviour?
The general idea is still to leave the core library in JavaScript, right?
(If you intend moving to TypeScript, I would currently have spare time to help you converting if wished.)
(Aand the documenation does not work currently)
Beta Was this translation helpful? Give feedback.
All reactions