如何在完整日历的周和日视图中隐藏开始时间(.fc-time)Jquery?
How to Hide start time(.fc-time) in week and day view of full calendar Jquery?
我只想在周视图和日视图中隐藏开始和结束时间,而在月视图日历中不隐藏。
如果我做类似下面的事情
.fc-time{
display : none !important;
}
上面的即使在一个月内也完全隐藏view.Any建议如何仅针对星期和日期自定义这个。
来自
Hide start time in FullCalendar
我经历了html月、周和日view.In月份的情况。fc-time用于span,如果是周,日视图。fc-time是用于 div。
我只是按照我的要求隐藏了那些。
如果月份 Html :-
<div class="fc-content">
<span class="fc-time">11:30 - 12:00</span>
<span class="fc-title">Officer Meeting</span>
</div>
如果是周,天 Html:-
<div class="fc-content">
<div class="fc-time" data-start="11:30" data-full="11:30 - 12:00">
</div>
<div class="fc-title">Officer Meeting</div></div>
最后,这是我隐藏 .fc-time 的解决方案,以周和日但以月为单位。
.fc-content .fc-time {
display: none !important;
}
.fc-content span.fc-time {
display: inline-block !important;
}
我只想在周视图和日视图中隐藏开始和结束时间,而在月视图日历中不隐藏。 如果我做类似下面的事情
.fc-time{
display : none !important;
}
上面的即使在一个月内也完全隐藏view.Any建议如何仅针对星期和日期自定义这个。
来自 Hide start time in FullCalendar
我经历了html月、周和日view.In月份的情况。fc-time用于span,如果是周,日视图。fc-time是用于 div。 我只是按照我的要求隐藏了那些。
如果月份 Html :-
<div class="fc-content">
<span class="fc-time">11:30 - 12:00</span>
<span class="fc-title">Officer Meeting</span>
</div>
如果是周,天 Html:-
<div class="fc-content">
<div class="fc-time" data-start="11:30" data-full="11:30 - 12:00">
</div>
<div class="fc-title">Officer Meeting</div></div>
最后,这是我隐藏 .fc-time 的解决方案,以周和日但以月为单位。
.fc-content .fc-time {
display: none !important;
}
.fc-content span.fc-time {
display: inline-block !important;
}