开发者

how to hide the qtip

开发者 https://www.devze.com 2023-02-19 15:12 出处:网络
Hi i am using Qtip in my Project, i need a little bit help in it, i have placed a condition which the checkbox boolean is true, qtip is active, now what i want is this i want to hide the qtip when che

Hi i am using Qtip in my Project, i need a little bit help in it, i have placed a condition which the checkbox boolean is true, qtip is active, now what i want is this i want to hide the qtip when checkbox boolean is false,开发者_如何学编程 how i am able to do that, anyhelp will be awesome. Thnxs in advance!


QTip has a "hide" method that should work.

For example, if I setup a QTip like this:

$(".some-selector").qtip({content:"Hello, World!", hide: {delay:10000}});

Normally, this wouldn't hide until 10 seconds after I move the mouse away. But if I want to immediately hide it, I can do this:

$(".some-selector").qtip("hide");
0

精彩评论

暂无评论...
验证码 换一张
取 消