The mounted Viewer Vue component instance
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsClose the viewer.
OptionalhandlerId: stringThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Show an already-opened file by its id, without triggering navigation callbacks. Used to sync the viewer to browser history (back/forward).
The id of the file to show
Optionalfile: IFileOptionalhandlerId: stringOptionalfile: IFileOptionalhandlerId: stringThe removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsSet the editing state (used to sync with the editing URL param).
Whether the viewer should be in editing mode
Set the viewer instance (called from init.ts) Private, do not use directly.