# CheckedChangeDetails (@salmonui/inputs/checkbox)

> The CheckedChangeDetails type of @salmonui/inputs/checkbox: Second argument of onCheckedChange: reason is 'toggle' (click, Space) or 'reset' (form reset).

Canonical: https://salmonui.dev/docs/reference/inputs/checkbox/CheckedChangeDetails

```ts
import type { CheckedChangeDetails } from '@salmonui/inputs/checkbox';
```

Also exported from `@salmonui/inputs/switch`.

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

## Reference

Kind: type

```ts
type CheckedChangeDetails = ChoiceChangeDetails<'toggle' | 'reset'>;
```

Second argument of `onCheckedChange`: `reason` is `'toggle'` (click, Space) or `'reset'` (form reset).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `source: "api" \| PressSource;` | inherited |  |
| `reason` | `reason: "reset" \| "toggle";` | inherited |  |
