file
databubble.jsDataBubbleImpl
The DataBubbleImpl and
DataBubbleIface classes implement the logic required to
extract and display data-bubble=""
tooltip popups on mouse
hover.
DataBubbleIface class
- class DataBubbleIface
-
…
update
(
element, text)
-
Set the
data-bubble
attribute ofelement
totext
or force its callback callback
(
element, callback)
-
Assign a callback function to fetch the
data-bubble
attribute ofelement
force
(
element)
-
Force
data-bubble
to be shown forelement
unforce
(
element)
-
Cancel forced
data-bubble
forelement
clear
(
element)
-
Reset the
data-bubble
attribute, its callback and cancel a forced bubble