[英]fullcalendar add tooltip by hover on day
我正在嘗試在此處添加工具提示。 我正在使用事件 datesRender
var fcContent = element.query('.fc-day.fc-widget-content'); fcContent.forEach(function(content) { content.setAttribute("data-qtip", "Tooltip content"); });
但是在某天點擊后,工具提示不再顯示。 有什么解決辦法嗎?
不確定此解決方案是否符合您的要求,但我認為最好的方法是使用后台事件。 這將像注釋一樣工作,但不會像背景中的 label 那樣成為工具提示。 檢查下面的文檔。 您可以添加事件的標題屬性以在后台顯示 label。
背景事件
[英]Fullcalendar add tooltip to events
[英]FullCalendar 2.3.0 Change day colour on hover
[英]FullCalendar: Add an event by the day of the week
[英]Tooltip in FullCalendar
[英]Fullcalendar add custom button to each day
[英]Fullcalendar - How to add time of the day in week view
[英]Add more fields/data to a FullCalendar day
[英]FullCalendar - How to add extra information to each day
[英]Add custom text to event in Day view - FullCalendar
[英]fullcalendar: how to add total duration of all events for each day
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.