FoxitPDFSDKforWeb  8.4.0
Foxit PDF SDK for Web
OpenLocalFileController Class Reference

Inherits Controller.

Detailed Description

Feature:

click to select file from local file system and then open it.

Usage:

in template:

<open-localfile-button @controller="file:OpenLocalFileController"></open-localfile-button>
<dropdown-button file-selector @controller="file:OpenLocalFileController"></dropdown-button>
<file-selector @controller="file:OpenLocalFileController"></file-selector>

in fragment config:

new PDFUI({
fragments: [{
target: 'fv--open-localfile-button',
config: {
callback: UIExtension.controllers.OpenLocalFileController
}
}]
});

Foxit Software Corporation Logo
@2022 Foxit Software Incorporated. All rights reserved.