Appearance
Mobile Web Capture API Reference / 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 for the whole document and DocumentToolbarButtonsConfig.uploadImage for selected pages — so hiding "the Upload button" means hiding both.
Properties
back?
optionalback?:ToolbarButtonConfig
Leaves selection mode.
backToLibrary?
optionalbackToLibrary?:ToolbarButtonConfig
Returns to the LibraryView. Shown only when the LibraryView is enabled.
capture?
optionalcapture?:ToolbarButtonConfig
Adds pages by capturing them with the scanner.
copyTo?
optionalcopyTo?:ToolbarButtonConfig
Copies the selected pages into another document, through the TransferView.
deleteImage?
optionaldeleteImage?:ToolbarButtonConfig
Deletes the selected pages.
import?
optionalimport?:ToolbarButtonConfig
Adds pages by importing images or PDF files.
manage?
optionalmanage?:ToolbarButtonConfig
Enters selection mode, where pages can be acted on individually.
moveTo?
optionalmoveTo?:ToolbarButtonConfig
Moves the selected pages into another document, through the TransferView.
shareDocument?
optionalshareDocument?:ToolbarButtonConfig
Shares the document as a multi-page PDF. Falls back to a download where sharing is unsupported.
shareImage?
optionalshareImage?:ToolbarButtonConfig
Shares the selected pages as PNG images. Falls back to a download where sharing is unsupported.
uploadDocument?
optionaluploadDocument?:ToolbarButtonConfig
Uploads the whole document. Shown only when ExportConfig.uploadToServer is defined.
uploadImage?
optionaluploadImage?:ToolbarButtonConfig
Uploads the selected pages. Shown only when ExportConfig.uploadToServer is defined.