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

Method
| Name | Description |
|---|---|
| initViewer | Initializes the SDK frame in the "viewer" mode. |
const docSpace = DocSpace.SDK.initViewer({config});
Allows you to open the SDK as a document editor for viewing by specifying the id parameter for a file.

| Name | Description |
|---|---|
| initViewer | Initializes the SDK frame in the "viewer" mode. |
const docSpace = DocSpace.SDK.initViewer({config});