Calendar: enable specific dates giving them a different style and a tooltip #2120
Answered
by
lubber-de
smartm0use
asked this question in
Modules (Modal, Dropdown, Popup, Calendar, Toast, ...)
-
Hello, among examples of calendar I see:
I need a "merge" of them, a way to disable all dates and enable only specific dates giving them style and a tooltip message. Is it possible to have it? Here is my playground: https://jsfiddle.net/u6yo7erp/ |
Beta Was this translation helpful? Give feedback.
Answered by
lubber-de
Sep 27, 2021
Replies: 1 comment
-
The way you used it is IMHO already the best way to do it. Infact |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lubber-de
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way you used it is IMHO already the best way to do it. Infact
enabledDates
already supports an object structure, so you can declare all your dates at a central place, but provide that to both, eventDates and enabledDates.See https://jsfiddle.net/lubber/g5y0cetb/3/