fullcalendar v4中eventMouseEnter的使用

Usage of eventMouseEnter in V4 of fullcalendar

我正在使用 fullcalnedar 的 V4,我想在鼠标悬停在日历中显示的事件时显示一个弹出窗口 window,我正在使用以下代码行。 console.log() 行正确显示。但是不会出现弹出窗口。对这个问题有什么想法吗?

eventMouseEnter: function (info) {
    console.log("-------hover--------");
    tooltip = '<div class="tooltiptopicevent" style="width:auto;height:auto;background:#feb811;position:absolute;z-index:10001;padding:10px 10px 10px 10px ;  line-height: 200%;">' + 'title: ' + ': ' + info.event.title + '</br>' + 'start: ' + ': ' + info.event.start + '</div>';
    console.log("-------"+tooltip);

    $("body").append(tooltip);
    $(this).mouseover(function (e) {
        $(this).css('z-index', 10000);
        $('.tooltiptopicevent').fadeIn('500');
        $('.tooltiptopicevent').fadeTo('10', 1.9);
    }).mousemove(function (e) {
        $('.tooltiptopicevent').css('top', e.pageY + 10);
        $('.tooltiptopicevent').css('left', e.pageX + 20);
    });
},
eventMouseLeave: function (data, event, view) {
    $(this).css('z-index', 8);

    $('.tooltiptopicevent').remove();
}

已更新

通过上面的代码片段,我可以弹出窗口。但是观察的不是很清楚。屏幕闪烁得非常快,以至于很难看清屏幕。你有什么想法吗?

已更新

<script>
$scope.displayCalendar = function()
{
 var calendarEl = document.getElementById('calendar');

  var calendar = new FullCalendar.Calendar(calendarEl, {
    plugins: [ 'dayGrid' ],
    defaultView: 'dayGridMonth',
    defaultDate: '2019-06-12',
    eventRender: function(info) {
      var tooltip = new Tooltip(info.el, {
        title: info.event.extendedProps.description,
        placement: 'top',
        trigger: 'hover',
        container: 'body'
      });
    }
events: [
      {
        title: 'All Day Event',
        description: 'description for All Day Event',
        start: '2019-06-01'
      },
      {
        title: 'Long Event',
        description: 'description for Long Event',
        start: '2019-06-07',
        end: '2019-06-10'
      }
       ]
});
calendar.render();

}

经过一天半的时间,我发现问题出在与tooltip相关的CSS。因此,通过将以下代码片段添加到 CSS 文件,我可以解决这个问题

.tooltip
{
opacity: 1;

}