Viewer

Allows you to open the SDK as a document editor for viewing by specifying the id parameter for a file.

Viewer mode

Method

NameDescription
initViewerInitializes the SDK frame in the "viewer" mode.
const docSpace = DocSpace.SDK.initViewer({config})

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).