var eventBus = viewer.get('eventBus');
eventBus.on('element.hover', function(e) {
if(e.element.id.startsWith("UserTask")){
alert(e.element.id);
}
});
the hover event will be triggered immediately even the mouse just slip by the element. is there any parameter to config how long after the mouse real hover/static on the element to trigger the event?