OptionalconfirmOptionaldefaultTheme for a freshly-created blank workbook (no source).
OptionaldocumentManage document.title from the workbook name + a leading ● when there are unsaved changes.
true (default): capture the current document.title as the base (e.g. the app name).false: leave document.title alone.The title becomes "<name> - <base>" (or just "<base>" for an unnamed workbook), with a
leading "● " while dirty.
OptionalfromWhen no explicit WorkbookAppOptions.source is given, read ?source / ?title from the
URL.
OptionalioIO used to read a source AND as the save commit-source for the dirty marker. Defaults to the shared WorkbookIO (the same instance Studio's file commands use, so the dirty state matches) — most apps don't need to pass this.
OptionalkeyboardSuppress browser keyboard shortcuts so they don't fire the browser instead of the app.
true (default): the DEFAULT_GUARD_KEYS (Ctrl/Cmd + O/S/W/N/T/M) plus Alt+Arrows.false: don't touch the keyboard.OptionalsourceWhat to open. A live IWorkbook / Promise for one is used directly; a
IWorkbookIO.ReadOptions (or a source string) is read via WorkbookAppOptions.io.
If omitted, the ?source (and ?title) URL query is used (see WorkbookAppOptions.fromUrl);
with no source at all, a blank workbook is created.
When
true(default), install abeforeunloadguard that prompts the browser's "leave site / unsaved changes" dialog while the workbook is dirty.