FoxitPDFSDKforWeb  8.5.0
Foxit PDF SDK for Web
TotalPageTextController Class Reference

Inherits Controller.

Detailed Description

Feature:

Sync the total number of open pdf file pages to the text content of the DOM element.

Usage:

in template:

<text @controller="gotoview:TotalPageTextController" @sync.text="pageNumber" name="gotopage-total">0</text>

in fragment config:

new PDFUI({
fragments: [{
target: 'gotopage-total',
config: {
callback: UIExtension.controllers.TotalPageTextController
}
}]
});

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