Open mkasson opened 10 years ago
I'm creating and later showing an Opentip programmatically. I'd like it to go away after 5 sec. I've tried the various options with no success in making that happen.
show
Opentip
I've also tried opentip.show().delay(5000).hide(); with no luck.
opentip.show().delay(5000).hide();
Any help would be appreciated.
Perhaps add timeout as a hideTrigger?
timeout
Thanks!
Easy enough with javascript's setTimeout. Using showOn: null, hideTrigger: "tip". And all is well in tablet-land.
setTimeout
showOn: null, hideTrigger: "tip"
invalidDataTip.show(); window.setTimeout(function () { invalidDataTip.hide(); }, 5000);
I'm creating and later
show
ing anOpentip
programmatically. I'd like it to go away after 5 sec. I've tried the various options with no success in making that happen.I've also tried
opentip.show().delay(5000).hide();
with no luck.Any help would be appreciated.
Perhaps add
timeout
as a hideTrigger?Thanks!