# Wijmo Tooltips

Learn how to use Wijmo's Tooltip component in this documentation topic

## Content


Tooltips are provided in 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. The example demonstrates adding a tooltip to a few popular Wijmo controls:

```javascript
import * as wijmo from '@mescius/wijmo';

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:

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