DraftOptions
Defined in: react/src/drafts.ts:32
Properties
Section titled “Properties”debounceMs?
Section titled “debounceMs?”optional debounceMs?: number;Defined in: react/src/drafts.ts:37
Delay after an edit before saving, in milliseconds. Defaults to 300.
retentionMs
Section titled “retentionMs”retentionMs: number;Defined in: react/src/drafts.ts:35
Required and finite. Expired drafts are never restored; the host deletes stored data.
storage
Section titled “storage”storage: DraftStorage;Defined in: react/src/drafts.ts:33