Attach Tooltip - Renderer API

Attach Tooltip - Renderer Overview

Attach Tooltip - Renderer provides a means for attaching tooltips to various elements in the DOM.  The Attach Tooltip - Renderer grade is not intended to be used on its own, but provided as a base grade to another component that will use it's capabilities for binding tooltips. This is very similar to Attach Tooltip, except that it is geared for working with fluid.rendererRelayComponents where the tooltip model needs to be updated after rendering.

 

 

On This Page
Still need help?

Join the infusion-users mailing list and ask your questions there.


Adding an Attach Tooltip - Renderer to a Component/Grade

To mixin the Attach Tooltip - Renderer into your Component/Grade:

fluid.defaults("my.component", {
    gradeNames: ["gpii.firstDiscovery.attachTooltip.renderer", "autoInit"]
});

Grades

The base grades used by the Attach Tooltip - Renderer:

Dependencies

<script type="text/javascript" src="src/lib/infusion/infusion-custom.js"></script>
<script type="text/javascript" src="src/js/msgLookup.js"></script>
<script type="text/javascript" src="src/js/tooltip.js"></script>