How to hide Daypilot.contextMenu with the mouseleave event? we know we can hide it by clicking outside the contextMenu but i want to know how to hide it by mouseleaving the menu window !
Many thanks for all what you do !!
You can use hideOnMouseOut property:
var dp = new DayPilot.Menu({ items: [ {...}, {...}], hideOnMouseOut: true });
See also: https://api.daypilot.org/daypilot-menu-hideonmouseout/