# showTooltipAtWord

Word-cloud-only — programmatic tooltip open on a word.

Canonical: https://chart.syidax.com/docs/methods/showTooltipAtWord/

<a id="definition"></a>

## Definition

```typescript
showTooltipAtWord(idOrIndex: string | number): Promise<WordCloudPointEventDetail | null>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | Required |

Return type: `Promise<WordCloudPointEventDetail | null>`. Call the method after element registration and await its Promise result.

- [WordCloudPointEventDetail](https://chart.syidax.com/docs/types/WordCloudPointEventDetail.md) — Type definition

<a id="related"></a>

## Related charts

- [sy-word-cloud](https://chart.syidax.com/docs/components/word-cloud.md#method-showTooltipAtWord)
