[]
        
(Showing Draft Content)

wjTooltip Class

wjTooltip Class

KnockoutJS binding for the Tooltip class.

Use the wjTooltip binding to add tooltips to elements on the page. The wjTooltip supports HTML content, smart positioning, and touch.

The wjTooltip binding is specified on an element that the tooltip applies to. The value is the tooltip text or the id of an element that contains the text. For example:

<p data-bind="wjTooltip: '#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

  • WjBinding
    • wjTooltip