# TooltipOpenChangeEvent (@salmonui/overlays/tooltip)

> The TooltipOpenChangeEvent interface of @salmonui/overlays/tooltip: Second argument of onOpenChange: frozen, allocated only when a callback is bound.

Canonical: https://salmonui.dev/docs/reference/overlays/tooltip/TooltipOpenChangeEvent

```ts
import type { TooltipOpenChangeEvent } from '@salmonui/overlays/tooltip';
```

Entry index: https://salmonui.dev/docs/reference/overlays/tooltip (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/overlays/tooltip.md).

## Reference

Kind: interface

```ts
interface TooltipOpenChangeEvent {
    readonly reason: TooltipOpenChangeReason;
    readonly source: 'pointer' | 'keyboard';
}
```

Second argument of `onOpenChange`: frozen, allocated only when a callback is bound.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `reason` | `readonly reason: TooltipOpenChangeReason;` |  |  |
| `source` | `readonly source: 'pointer' \| 'keyboard';` |  |  |
