Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/73.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/17.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
Jquery FullCalendar不显示事件块,而是显示自定义文本?_Jquery_Fullcalendar_Frontend - Fatal编程技术网

Jquery FullCalendar不显示事件块,而是显示自定义文本?

Jquery FullCalendar不显示事件块,而是显示自定义文本?,jquery,fullcalendar,frontend,Jquery,Fullcalendar,Frontend,有没有办法隐藏或不显示事件块,同时使用自定义文本?就像EatPeanutButter说的那样,我可以使用eventRender自定义事件的外观: eventRender: function(event, element) { console.log(event); console.log(element); element.text("a bigger text for this object, you can modify

有没有办法隐藏或不显示事件块,同时使用自定义文本?

就像EatPeanutButter说的那样,我可以使用eventRender自定义事件的外观:

eventRender: function(event, element) {
            console.log(event);
            console.log(element);
            element.text("a bigger text for this object, you can modify element as you want now with another label");
        },

你只想在日历上显示文本而不是事件?一些CSS可以使文本看起来像你所看到的那样want@EatPeanutButter这是正确的,但我只希望在特定日期上有不同的文本。将它们添加为事件。这就是日历的用途。如果愿意,可以单独自定义事件的外观。文件如下: