Show file compared with base, an older version of it: what changed
from base to file. Side by side, base is on the left. Resolves with
the session of this opening.
Optionaloptions: CompareOptionsShow an already-opened file by its id, without an update:file event.
Used to sync the viewer to browser history (back/forward).
The id of the file to show
Show files. Resolves with the session of this opening, which tells of
the file shown, editing and the viewer closing (see ViewerEventMap).
Optionalfile: IFileOptionaloptions: ViewerOptionsOptionalhandlerId: stringOptionalfile: IFileOptionaloptions: ViewerOptionsOptionalhandlerId: stringSet the editing state (used to sync with the editing URL param).
Whether the viewer should be in editing mode
Close the viewer.