ui/b/databubble.js file

DataBubbleImpl

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 of element to text or force its callback
callback (element, callback)
Assign a callback function to fetch the data-bubble attribute of element
force (element)
Force data-bubble to be shown for element
unforce (element)
Cancel forced data-bubble for element
clear (element)
Reset the data-bubble attribute, its callback and cancel a forced bubble