# SchedulerBeforeSaveEvent (@salmonui/scheduler)

> The SchedulerBeforeSaveEvent interface of @salmonui/scheduler.

Canonical: https://salmonui.dev/docs/reference/scheduler/SchedulerBeforeSaveEvent

```ts
import type { SchedulerBeforeSaveEvent } from '@salmonui/scheduler';
```

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

## Reference

Kind: interface

```ts
interface SchedulerBeforeSaveEvent<Row> extends SchedulerCancelableEvent {
    readonly row: Row;
    readonly previous: Row;
    readonly scope: EditScope;
    setScope(scope: EditScope): void;
    readonly occurrenceStart: Date | null;
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `row` | `readonly row: Row;` |  |  |
| `previous` | `readonly previous: Row;` |  |  |
| `scope` | `readonly scope: EditScope;` |  | The scope of a recurring edit; assign through `setScope` when `editing.recurrencePrompt` is false. |
| `setScope` | `setScope(scope: EditScope): void;` |  |  |
| `occurrenceStart` | `readonly occurrenceStart: Date \| null;` |  | Original start of the edited occurrence of a series. |
| `type` | `type: string;` | inherited |  |
| `source` | `source: SchedulerEventSource;` | inherited |  |
| `defaultPrevented` | `defaultPrevented: boolean;` | inherited |  |
| `preventDefault` | `preventDefault: () => void;` | inherited |  |
