View as Markdown

API reference: @salmonui/scheduler

SchedulerBeforeSaveEventinterface

import type { SchedulerBeforeSaveEvent } from '@salmonui/scheduler';
interface SchedulerBeforeSaveEvent<Row> extends SchedulerCancelableEvent {
    readonly row: Row;
    readonly previous: Row;
    readonly scope: EditScope;
    setScope(scope: EditScope): void;
    readonly occurrenceStart: Date | null;
}
SchedulerBeforeSaveEvent members (9, 4 inherited)
NameSignatureDescription
rowreadonly row: Row;
previousreadonly previous: Row;
scopereadonly scope: EditScope;

The scope of a recurring edit; assign through setScope when editing.recurrencePrompt is false.

setScopesetScope(scope: EditScope): void;
occurrenceStartreadonly occurrenceStart: Date | null;

Original start of the edited occurrence of a series.

typeinheritedtype: string;
sourceinheritedsource: SchedulerEventSource;
defaultPreventedinheriteddefaultPrevented: boolean;
preventDefaultinheritedpreventDefault: () => void;