hovercard.js
No description.

File Location

/goog/ui/hovercard.js

Classes

goog.ui.HoverCard
Create a hover card object. Hover cards extend tooltips in that they don't have to be manually attached to each element that can cause them to display. Instead, you can create a function that gets called when the mouse goes over any element on your page, and returns whether or not the hovercard should be shown for that element. Alternatively, you can define a map of tag names to the attribute name each tag should have for that tag to trigger the hover card. See example below. Hovercards can also be triggered manually by calling triggerForElement, shown without a delay by calling showForElement, or triggered over other elements by calling attach. For the latter two cases, the application is responsible for calling detach when finished. HoverCard objects fire a TRIGGER event when the mouse moves over an element that can trigger a hovercard, and BEFORE_SHOW when the hovercard is about to be shown. Clients can respond to these events and can prevent the hovercard from being triggered or shown.
goog.ui.HoverCard.TriggerEvent
Create a trigger event for specified anchor and optional data.

Enumerations

Directory ui

File Reference