Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Saveable

Index

Type Aliases

Snapshot: { value: string } | { read: any }

Functions

  • confirmSaveBeforeClose(toClose: Iterable<Widget>, others: Widget[]): Promise<boolean | undefined>
  • getDirty(arg: unknown): Saveable | undefined
  • isDirty(arg: unknown): boolean
  • save(arg: unknown, options?: SaveOptions): Promise<void>
  • shouldSave(saveable: Saveable, cb: (() => MaybePromise<undefined | boolean>)): Promise<boolean | undefined>