JQuery-UI 工具提示:仅对鼠标悬停启用,对焦点禁用

JQuery-UI tooltip: enable only for mouseover, disable for focusin

是否可以使 JQuery-UI 工具提示仅在 onmouseover 事件上打开而不在 focusin 事件上打开,使其表现得更像本机浏览器工具提示?

我试过这个解决方案,但没有用:

$(document).tooltip({
    items:".jquery-tooltip",
    track:true, show:false, hide:false,
    open: function(event, ui) {
        if(event.originalEvent.type == "focusin") {
            $(document).tooltip("close");
        }
    },
    content: function() {
        return "tooltip text here";
    }
});

这个有效:

$(document).tooltip().off("focusin focusout");