Twitter bootstrap popover:如何在popover上更快地过渡(' hide')?

时间:2014-12-04 10:00:14

标签: twitter-bootstrap bootstrap-popover

是否有可能让popover上的隐藏更快?

我试图修补隐藏的'财产但到目前为止没有运气。

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

感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

Bootstrap popovers

$(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....
});
相关问题