Is there a way to close the event tooltip by clicking inside the tooltip? (manual close)
update:
I can hide it by setting
document.querySelector('[id$=event-tip]').style.visibility = 'hidden';
but I need to get it back when mouse hover
Hi Samith,
To hide a tooltip, better to use tooltip.hide()
method: https://bryntum.com/docs/scheduler/#Core/widget/Tooltip#function-hide
It may be implemented like this:
scheduler.features.eventTooltip.tooltip.on({
show : ({ source }) => source.element.addEventListener('click', () => { source.hide(false); }),
once : true
})
All best,
Alex
All the best,
Alex