# Interface: LibraryViewConfig

[Mobile Web Capture API Reference](../index.md) / LibraryViewConfig

# Interface: LibraryViewConfig

Configures the `LibraryView`, where the user manages several documents at once.

## Remarks

Set this through [MobileWebCaptureConfig.libraryViewConfig](MobileWebCaptureConfig.md#libraryviewconfig), which exposes the properties below that a consumer can meaningfully set; the rest are wired up by MWC.

## Example

```javascript
const mobileWebCapture = new Dynamsoft.MobileWebCapture({
    license: "YOUR_LICENSE_KEY_HERE",
    showLibraryView: true,
    libraryViewConfig: {
        toolbarButtonsConfig: { upload: { isHidden: true } },
    },
});
```

## Properties

### container?

> `optional` **container?**: `HTMLElement`

The container element for this View.

#### Remarks

When omitted, MWC creates one inside [MobileWebCaptureConfig.container](MobileWebCaptureConfig.md#container).

***

### emptyContentConfig?

> `optional` **emptyContentConfig?**: [`EmptyContentConfig`](../type-aliases/EmptyContentConfig.md)

What the View displays while the library holds no documents.

***

### toolbarButtonsConfig?

> `optional` **toolbarButtonsConfig?**: [`LibraryToolbarButtonsConfig`](LibraryToolbarButtonsConfig.md)

Overrides the icon, label, or visibility of the `LibraryView` toolbar buttons.
