Appearance
Mobile Web Capture API Reference / LibraryViewConfig
Interface: LibraryViewConfig
Configures the LibraryView, where the user manages several documents at once.
Remarks
Set this through MobileWebCaptureConfig.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?
optionalcontainer?:HTMLElement
The container element for this View.
Remarks
When omitted, MWC creates one inside MobileWebCaptureConfig.container.
emptyContentConfig?
optionalemptyContentConfig?:EmptyContentConfig
What the View displays while the library holds no documents.
toolbarButtonsConfig?
optionaltoolbarButtonsConfig?:LibraryToolbarButtonsConfig
Overrides the icon, label, or visibility of the LibraryView toolbar buttons.