# PopoverOpenChangeEvent (@salmonui/overlays/popover)

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

Canonical: https://salmonui.dev/docs/reference/overlays/popover/PopoverOpenChangeEvent

```ts
import type { PopoverOpenChangeEvent } from '@salmonui/overlays/popover';
```

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

## Reference

Kind: interface

```ts
interface PopoverOpenChangeEvent {
    readonly reason: PopoverOpenChangeReason;
    readonly source: PressSource | 'api';
}
```

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

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `reason` | `readonly reason: PopoverOpenChangeReason;` |  |  |
| `source` | `readonly source: PressSource \| 'api';` |  |  |
