---
layout: default-layout
needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
title: Dynamsoft Document Viewer API Reference - Interface BrowseViewerConstructorOptions
keywords: Documentation, Dynamsoft Document Viewer, API Reference, Interface BrowseViewerConstructorOptions
breadcrumbText: Interface BrowseViewerConstructorOptions
description: Dynamsoft Document Viewer Documentation API Reference Interface BrowseViewerConstructorOptions Page
permalink: /api/interface/browseviewerconstructoroptions.html
---

# BrowseViewerConstructorOptions

## Syntax

```typescript
interface BrowseViewerConstructorOptions {
    container?: string | HTMLElement;
    keyboardInteractionConfig?: KeyboardInteractionConfig;
    viewerConfig?: BrowseViewerConfig;
    uiConfig?: UiConfig; 
    groupUid?: string;
}
```

## Attributes

### container

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

### keyboardInteractionConfig

This configures the use of keyboard shortcuts for the viewer - please see [`KeyboardInteractionConfig`](https://www.dynamsoft.com/document-viewer/docs/api/interface/keyboardinteractionconfig.md) for details. If not specified, all keyboard shortcuts are disabled by default. **Note**: editing shortcuts do not have any effect on the Browse viewer.

### viewerConfig

The configurations of viewer, please refer to [`BrowseViewerConfig`](https://www.dynamsoft.com/document-viewer/docs/api/interface/browseviewerconfig.md). If it is not specified, the [default configuration](https://www.dynamsoft.com/document-viewer/docs/viewer/viewerconfig.md#browseviewerconfig) will be applied.

### uiConfig

The UI layout configurations of viewer, please refer to [`UiConfig`](https://www.dynamsoft.com/document-viewer/docs/api/interface/uiconfig.md). If it is not specified, the [default UI](https://www.dynamsoft.com/document-viewer/docs/ui/default_ui.md#browse-viewer) will be applied.

### groupUid

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



## Related

- [`BrowseViewer()`](https://www.dynamsoft.com/document-viewer/docs/api/class/browseviewer.md#browseviewer)
