opentip icon indicating copy to clipboard operation
opentip copied to clipboard

Question: Callbacks

Open crystalk opened this issue 12 years ago • 4 comments

Hello,

I have been looking for information on call backs. I have a project that requires a callback for when a tool tip is open or closed. I took a look at the open tooltip website and took a quick look at the code but I did not see anything that looked like a callback that could be captured.

I would need to be able to capture events on both dynamically created tooltips and programmatically created tool tips.

If you are not currently using any type of call back for these events, could the current library be easily extended? The open tip site mentions an array that keeps track of opentips associated with an element, do you think this array would be a good candidate for extending so callbacks could be captured for open/close events?

crystalk avatar Apr 17 '13 20:04 crystalk

Hi, I'll look at it Monday and implement callbacks if there isn't a way yet.

enyo avatar Apr 18 '13 08:04 enyo

Hi, I'm facing the same problem as crystalk. Is there now a possibility to add callbacks to showing and hiding of opentips? I've also been looking through the code (version 2.4.6), but couldn't find anything.

ascripter avatar Aug 30 '14 09:08 ascripter

Hi I'm also keen to see a close button click callback.

ikb42 avatar Oct 10 '14 16:10 ikb42

+1 to this

marcacyr avatar Oct 29 '15 20:10 marcacyr