Fullcalendar onmouseover显示不同的模板

时间:2014-12-12 14:27:16

标签: javascript jquery angularjs fullcalendar mouseover

目前使用Angular(http://fullcalendar.io/download/

的完整日历(https://github.com/angular-ui/ui-calendar

enter image description here

是否可以在每天鼠标悬停时注入一个新的html模板,以便显示如下的编辑/视图模板?

我注意到有一个鼠标悬停在这些事件上但我不容易在当天进行鼠标悬停。

有什么想法吗?

enter image description here

1 个答案:

答案 0 :(得分:0)

在第4810行之后的fullcalendar.js

我已手动添加此活动。

        $(node).mouseenter(function() {
            view.trigger('dayMouseenter', null, date, $(node));
        });