Resource Base
Table of contents

EditViewerConstructorOptions

Syntax

interface EditViewerConstructorOptions {
    container?: string | HTMLElement;
    viewerConfig?: EditViewerConfig; 
    uiConfig?: UiConfig; 
    thumbnailConfig?: ThumbnailConfig; 
    annotationConfig?: AnnotationConfig;
    groupUid?: string; 
}

Attributes

container

The container which is used to show the viewer. Its id or HTMLElement is acceppted.

viewerConfig

The configurations of viewer, please refer to EditViewerConfig. If it is not specified, the default configuration will be applied.

uiConfig

The UI layout configurations of viewer, please refer to UiConfig. If it is not specified, the default UI will be applied.

thumbnailConfig

The configurations of integrated thumbnail, please refer to ThumbnailConfig. If it is not specified, the default configuration will be applied.

annotationConfig

The configurations of annotation part in the viewer, please refer to AnnotationConfig. If it is not specified, the default configuration will be applied.

groupUid

The uid of viewers’ group. If it is not specified, a random groupUid will be generated.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +