# Interface: DocumentToolbarButtonsConfig

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

# Interface: DocumentToolbarButtonsConfig

The customizable buttons of the `DocumentView` toolbar.

## Remarks

The first group is the default toolbar; the rest appear once the user taps **Manage** and selects one or more pages.

Note that the View has two upload buttons — [DocumentToolbarButtonsConfig.uploadDocument](#uploaddocument) for the whole document and [DocumentToolbarButtonsConfig.uploadImage](#uploadimage) for selected pages — so hiding "the Upload button" means hiding both.

## Properties

### back?

> `optional` **back?**: `ToolbarButtonConfig`

Leaves selection mode.

***

### backToLibrary?

> `optional` **backToLibrary?**: `ToolbarButtonConfig`

Returns to the `LibraryView`. Shown only when the `LibraryView` is enabled.

***

### capture?

> `optional` **capture?**: `ToolbarButtonConfig`

Adds pages by capturing them with the scanner.

***

### copyTo?

> `optional` **copyTo?**: `ToolbarButtonConfig`

Copies the selected pages into another document, through the `TransferView`.

***

### deleteImage?

> `optional` **deleteImage?**: `ToolbarButtonConfig`

Deletes the selected pages.

***

### import?

> `optional` **import?**: `ToolbarButtonConfig`

Adds pages by importing images or PDF files.

***

### manage?

> `optional` **manage?**: `ToolbarButtonConfig`

Enters selection mode, where pages can be acted on individually.

***

### moveTo?

> `optional` **moveTo?**: `ToolbarButtonConfig`

Moves the selected pages into another document, through the `TransferView`.

***

### shareDocument?

> `optional` **shareDocument?**: `ToolbarButtonConfig`

Shares the document as a multi-page PDF. Falls back to a download where sharing is unsupported.

***

### shareImage?

> `optional` **shareImage?**: `ToolbarButtonConfig`

Shares the selected pages as PNG images. Falls back to a download where sharing is unsupported.

***

### uploadDocument?

> `optional` **uploadDocument?**: `ToolbarButtonConfig`

Uploads the whole document. Shown only when [ExportConfig.uploadToServer](ExportConfig.md#uploadtoserver) is defined.

***

### uploadImage?

> `optional` **uploadImage?**: `ToolbarButtonConfig`

Uploads the selected pages. Shown only when [ExportConfig.uploadToServer](ExportConfig.md#uploadtoserver) is defined.
