# TabCloseEvent (@salmonui/navigation/tabs)

> The TabCloseEvent interface of @salmonui/navigation/tabs: Tab onClose: the close button was pressed or Delete was pressed on the focused tab.

Canonical: https://salmonui.dev/docs/reference/navigation/tabs/TabCloseEvent

```ts
import type { TabCloseEvent } from '@salmonui/navigation/tabs';
```

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

## Reference

Kind: interface

```ts
interface TabCloseEvent {
    readonly value: string;
    readonly source: TabsSource;
}
```

`Tab onClose`: the close button was pressed or Delete was pressed on the focused tab.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `value` | `readonly value: string;` |  |  |
| `source` | `readonly source: TabsSource;` |  |  |
