I was wondering but can't find a working documentaion reference to this, on how you can add a custom action in the tooltip and also passing the event to it.
eventTooltipFeature: {
// Configuration options are passed on to the tooltip instance.
// Override the default which is to show on click.
titleRenderer: eventRecord => eventRecord.name,
showOn : 'hover',
header : {
titleAlign: 'start'
}, // We want the tooltip's left edge aligned to the right edge of the tooltip window if possible.
align : 'r-l',
// Mustn't shrink because of large, graphical content
minWidth : null,
renderer : data => `<dl>
<dt> ${data.eventRecord.eventType ? data.eventRecord.eventType : ''}</dt>
<dt style="margin-bottom:15px">${JSON.stringify(data.eventRecord.isRecurring)}</dt>
<dt style="margin-bottom:3px"> <i style="font-size:18px" class="fas fa-clock"></i><span style="margin-left:10px">${moment(data.eventRecord.startDate).format('HH:mm')}</span></dt>
<dt style="margin-bottom:3px"> <i style="font-size:18px" class="fas fa-clock"></i><span style="margin-left:10px">${moment(data.eventRecord.endDate).format('HH:mm')}</span></dt>
</dl>
`
},
Attachments
2020-12-14 12_45_16-https___ol-d-ict.corpads.aurubis.com_#_calendar.png (24.39 KiB) Viewed 1121 times