CSS class on calendar when dates are selectable
See original GitHub issueFeature Requests
Currently you have to watch the value of the selectable
option if you want to toggle a custom class related to it.
A native ‘fc-selectable’ class toggled on the fullcalendar root node could be nice.
fullcalendar already do it with fc-unselectable.
Just a question about it, why is it set on the <body>
tag instead of the fullcalendar root node ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Calendar Marked day classes Example | Mobiscroll
JQuery calendar with customizable day marks & shapes. Use triangles, squares, circles with custom CSS rules.
Read more >Set DatePicker calendar cell color on selectable dates only
1 Answer 1 ... This will make sure your CSS more specific, so it will take precedence over the built-in CSS. ... where...
Read more >Calendar picker - Metro UI :: Popular HTML, CSS and JS library
Organize date selection for the user with the calendar picker component. The most popular HTML, CSS, and JS library in Metro style.
Read more >DateRangePicker / How To / Customization using CSSClass
e-prev, Applied to Calendar previous icon. ; e-next, Applied to Calendar next icon. ; e-weekend, Applied to Calendar weekend dates. ; e-other-month, Applied...
Read more >Custom Date Picker in JavaScript & CSS - YouTube
Learn how to code a completely customizable date picker in JavaScript & CSS. We use the power of js loops, event listeners, CSS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@acerix are you aware that
.fc-unselectable
class and preventingselectstart
events viael.addEventListener('selectstart', preventDefault);
prevents user from any interaction on custom components generated instead of default one? E.g. in case of event template has some form it’s not possible to focus on those fields?Indeed, It will give the opportunity to add styles depending on a fullcalendar’s state without requiring a custom implementation. It’s useful if, for example, you want to share a custom theme for fullcalendar.