我想知道如何将自定义渲染应用于事件...我希望能够在练习议程的“患者”名称之前添加...
eventRender: function(event, element) {
console.log(element[0]);
}
这目前在控制台中显示 HTML 输出,但我不知道如何访问它(以漂亮的 jQuery 方式)以操作其中的数据。
控制台转储的输出是
<div class="fc-event fc-event-vert fc-corner-top fc-corner-bottom dr1" style="position: absolute; z-index: 8; top: 104px; left: 403px; width: 155.7px; height: 40px; ">
<a>
<span class="fc-event-bg">
<span class="fc-event-time">10:30 - 11:30</span>
<span class="fc-event-title">Primera vez que viene</span>
</a>
<div class="ui-resizable-handle ui-resizable-s">=</div>
</div>