# RichTextBeforePopupOpenEvent (@salmonui/rich-text)

> The RichTextBeforePopupOpenEvent interface of @salmonui/rich-text.

Canonical: https://salmonui.dev/docs/reference/rich-text/RichTextBeforePopupOpenEvent

```ts
import type { RichTextBeforePopupOpenEvent } from '@salmonui/rich-text';
```

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

## Reference

Kind: interface

```ts
interface RichTextBeforePopupOpenEvent {
    readonly popup: RichTextPopupId;
    preventDefault(): void;
    readonly defaultPrevented: boolean;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `popup` | `readonly popup: RichTextPopupId;` |  |  |
| `preventDefault` | `preventDefault(): void;` |  |  |
| `defaultPrevented` | `readonly defaultPrevented: boolean;` |  |  |
