0

是否可以更快地隐藏popover?

我试图修补“隐藏”属性,但到目前为止还没有运气。

$(this).popover({
    title: node.name,
    html: true,
    container: 'body',
    placement: 'right'
    hide: function() {
        $(this).animate(function() {
            //can something be done here? 
        });
    }
});

感谢帮助。

4

1 回答 1

0

引导弹出框

$(this).popover({
    title: node.name,
    html: true,
    container: 'body',
    placement: 'right',
    delay: {"hide": 200} // as per the docs. Should require the quotation marks.... Try without if not hehe....
});
于 2014-12-09T06:50:55.983 回答