5.20202.732
wijmo.angular.core Class WjTooltip Wijmo API Class

WjTooltip Class

AngularJS directive for the Tooltip class.

Use the wj-tooltip directive to add tooltips to elements on the page. The wj-tooltip directive supports HTML content, smart positioning, and touch.

The wj-tooltip directive is specified as a parameter added to the element that the tooltip applies to. The parameter value is the tooltip text or the id of an element that contains the text. For example:

<p wj-tooltip="#fineprint" >
    Regular paragraph content...</p>
...
<div id="fineprint" style="display:none">
  <h3>Important Note</h3>
  <p>
    Data for the current quarter is estimated
    by pro-rating etc.</p>
</div>

Heirarchy

  • WjDirective
    • WjTooltip