OptionalcanWhether the viewer can loop from last to first item and vice versa. Defaults to true.
OptionaleditingWhether to open straight into editing mode (e.g. from an editing=true URL).
Ignored for handlers that do not support editing.
OptionalenableWhether to offer the Files sidebar for the open file. Defaults to true. Turn it off for a file the sidebar cannot resolve, such as an old version of a file, which is served from its own dav endpoint.
OptionalfolderThe folder the opened files live in. Forwarded to those file actions.
OptionalloadWill be called to append more files when reaching the end of the current list
OptionalonCalled when the viewer is closed
OptionalonCalled when the editing state changes, so the opener can reflect it (e.g. in the URL).
OptionalonCalled when navigating to the next item, with the file navigated to.
OptionalonCalled when navigating to the previous item, with the file navigated to.
OptionalviewThe files view the viewer was opened from. Forwarded to the file actions rendered inside the viewer (download, delete, details, …) so they can run with the same context as in the files list.
Options for opening the viewer