如何更改fullcalendar上的光标指针? [英] How to change the cursor pointer on fullcalendar?
本文介绍了如何更改fullcalendar上的光标指针?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我为我的项目使用fullCalendar插件。我注意到,当我将editable:设置为false,光标悬停在事件上变为默认,而不是保持作为指针光标。如何更改这个?谢谢!
I'm using fullCalendar plugin for my project. I noticed that when I set the "editable: " into false, the cursor hover on the events becomes default instead of staying as a pointer cursor. How do I change this? Thanks!
推荐答案
这应该可以做到:
.myCalendar {
cursor: pointer;
}
使用正确的css选择器代替 .myCalendar
,当然。
查看此示例日历,您可能正在寻找 .fc-event
,以便在悬停在日历事件上时保留指针:
Using the proper css selector instead of .myCalendar
, of course.
Looking at this example calendar, you're probably looking for .fc-event
, to preserve the pointer when hovering over calendar events:
.fc-event{
cursor: pointer;
}
这篇关于如何更改fullcalendar上的光标指针?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文