Demos
Documentation
API
More Samples
Download Wijmo

Tooltips

Tooltips are provided by the Wijmo core. They are not controls, but popups containing HTML that appear when the mouse hovers over designated elements.

You can associate a tooltip with one or more elements on the page using the Tooltip.setTooltip method:

let tt = new wijmo.Tooltip();

tt.setTooltip('#menu', 'Select commands.');
tt.setTooltip('#tree', 'Explore the hierarchy.');
tt.setTooltip('#chart', '#idChartTooltip');

If you are using Angular, then you can set a tooltip declaratively using the wjTooltip directive:

<div [wjTooltip]="'Select commands.'"></div>
<div [wjTooltip]="'#idChartTooltip'"></div>