Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在meteor中将事件添加到完整日历_Meteor_Fullcalendar - Fatal编程技术网

在meteor中将事件添加到完整日历

在meteor中将事件添加到完整日历,meteor,fullcalendar,Meteor,Fullcalendar,我尝试使用Adam Shaw提供的完整日历包 我的html: <head> <title>Calendar Test</title> </head> <body> <div id='head'> <h1>Calendar Test Meteor</h1> </div> <div id='calendar'> {{> schedule_assessmen

我尝试使用Adam Shaw提供的完整日历包

我的html:

<head> 
<title>Calendar Test</title>
</head> 
<body>
<div id='head'>
    <h1>Calendar Test Meteor</h1>
</div>
<div id='calendar'>
    {{> schedule_assessments}}
</div>  
</body>

<template name="schedule_assessments">
    {{rendered}}
</template>
我查阅了文档,但找不到任何流星的具体帮助。 例如:如何在双击时添加事件?是否已为事件设置了集合?如果我点击某一天,我如何在不知道该元素名称的情况下检测到它


谢谢你的帮助

事件处理程序可用于单击特定的正常日/事件日

看看这些功能是否可用

eventClick: function(calEvent, jsEvent, view) {

        alert('Event: ' + calEvent.title);
        alert('Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY);
        alert('View: ' + view.name);

        // change the border color just for fun
        $(this).css('border-color', 'red');

}
您还可以查看触发双击事件的函数

eventRender: function(event, element) {
        element.qtip({
            content: event.description
        });
}

但是,这并不能回答如何添加事件
eventRender: function(event, element) {
        element.qtip({
            content: event.description
        });
}