# BreadcrumbsItemClickEvent (@salmonui/navigation/breadcrumbs)

> The BreadcrumbsItemClickEvent interface of @salmonui/navigation/breadcrumbs: onItemClick event. preventDefault() cancels the link's navigation.

Canonical: https://salmonui.dev/docs/reference/navigation/breadcrumbs/BreadcrumbsItemClickEvent

```ts
import type { BreadcrumbsItemClickEvent } from '@salmonui/navigation/breadcrumbs';
```

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

## Reference

Kind: interface

```ts
interface BreadcrumbsItemClickEvent {
    readonly index: number;
    readonly item: BreadcrumbItemProps;
    readonly href: string | undefined;
    readonly source: PressSource;
    readonly menu: boolean;
    readonly defaultPrevented: boolean;
    preventDefault(): void;
}
```

`onItemClick` event. `preventDefault()` cancels the link's navigation.

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `index` | `readonly index: number;` |  | Position of the item among the `BreadcrumbItem` children. |
| `item` | `readonly item: BreadcrumbItemProps;` |  | The clicked item's props. |
| `href` | `readonly href: string \| undefined;` |  |  |
| `source` | `readonly source: PressSource;` |  |  |
| `menu` | `readonly menu: boolean;` |  | The item was chosen in the ellipsis menu. |
| `defaultPrevented` | `readonly defaultPrevented: boolean;` |  |  |
| `preventDefault` | `preventDefault(): void;` |  |  |
