4th May, 14:37
Hello, first of all thanks for the nice plugin.
I was trying to get something done before tooltip is shown, but couldn't access the api.
var tooltip = $('[tooltip]').qtip("api");
tooltip.qtip({
onShow: function(event){
console.log("anything");
},
content: 'Any content',
style: 'cream',
})
i assumed that accessing api should be something like above, because i could not find any example in the site. Here i want to write "anything" to firefox's console, but no luck.
Can someone correct me?
Thanks in advance.
Sinan.
I was trying to get something done before tooltip is shown, but couldn't access the api.
var tooltip = $('[tooltip]').qtip("api");
tooltip.qtip({
onShow: function(event){
console.log("anything");
},
content: 'Any content',
style: 'cream',
})
i assumed that accessing api should be something like above, because i could not find any example in the site. Here i want to write "anything" to firefox's console, but no luck.
Can someone correct me?
Thanks in advance.
Sinan.