# SidebarCollapsedChangeEvent (@salmonui/navigation/sidebar-layout)

> The SidebarCollapsedChangeEvent interface of @salmonui/navigation/sidebar-layout: Second argument of onCollapsedChange.

Canonical: https://salmonui.dev/docs/reference/navigation/sidebar-layout/SidebarCollapsedChangeEvent

```ts
import type { SidebarCollapsedChangeEvent } from '@salmonui/navigation/sidebar-layout';
```

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

## Reference

Kind: interface

```ts
interface SidebarCollapsedChangeEvent {
    readonly source: SidebarSource;
    readonly reason: 'trigger';
}
```

Second argument of `onCollapsedChange`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: SidebarSource;` |  |  |
| `reason` | `readonly reason: 'trigger';` |  |  |
